]> git.saurik.com Git - wxWidgets.git/commitdiff
Add webview library in MSVC-specific setup.h.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Aug 2012 22:44:18 +0000 (22:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 5 Aug 2012 22:44:18 +0000 (22:44 +0000)
wxNO_WEBVIEW_LIB was documented but not implemented: webview library was never
linked in implicitly at all. Fix this by adding the missing #pragma to
msvc/wx/setup.h.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/msvc/wx/setup.h

index ad4cb5d12bbbc8bf98bd948e649823cefefe70ba..c1703080f7c19cd5cd760509b3e9c91ebbdf53ff 100644 (file)
             #pragma comment(lib, wx3RD_PARTY_LIB_NAME("scintilla"))
         #endif
     #endif
+    #if wxUSE_WEBVIEW && !defined(wxNO_WEBVIEW_LIB)
+        #pragma comment(lib, wxTOOLKIT_LIB_NAME("webview"))
+    #endif
 #endif // wxUSE_GUI