From: Steve Lamerton Date: Mon, 25 Jul 2011 15:10:33 +0000 (+0000) Subject: Link to urlmon from wxWeb to fix the compilation errors as we use CoInternetGetSession. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aa35b9ca827dbcf94a81ff2d5dc6782a9b247aaa?ds=sidebyside Link to urlmon from wxWeb to fix the compilation errors as we use CoInternetGetSession. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/webview_ie.cpp b/src/msw/webview_ie.cpp index 084742687d..eae7953283 100644 --- a/src/msw/webview_ie.cpp +++ b/src/msw/webview_ie.cpp @@ -27,6 +27,9 @@ #include "wx/msw/missing.h" #include "wx/filesys.h" +//We link to urlmon as it is required for CoInternetGetSession +#pragma comment(lib, "urlmon") + //Taken from wx/filesys.cpp static wxString EscapeFileNameCharsInURL(const char *in) {