From: Vadim Zeitlin Date: Sun, 5 Aug 2012 22:44:18 +0000 (+0000) Subject: Add webview library in MSVC-specific setup.h. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0feacc82952faca3e688757d84dbba5e47f9bc0?ds=inline Add webview library in MSVC-specific setup.h. 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 --- diff --git a/include/msvc/wx/setup.h b/include/msvc/wx/setup.h index ad4cb5d12b..c1703080f7 100644 --- a/include/msvc/wx/setup.h +++ b/include/msvc/wx/setup.h @@ -199,6 +199,9 @@ #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