From aa35b9ca827dbcf94a81ff2d5dc6782a9b247aaa Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Mon, 25 Jul 2011 15:10:33 +0000 Subject: [PATCH] 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 --- src/msw/webview_ie.cpp | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 2.45.2