X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0feacc82952faca3e688757d84dbba5e47f9bc0..ccaf2891c9082773460c50c7eb7a910ea51e7003:/include/msvc/wx/setup.h diff --git a/include/msvc/wx/setup.h b/include/msvc/wx/setup.h index c1703080f7..f60059a208 100644 --- a/include/msvc/wx/setup.h +++ b/include/msvc/wx/setup.h @@ -87,7 +87,11 @@ // The user can predefine a different prefix if not using the default MSW port // with MSVC. #ifndef wxTOOLKIT_PREFIX - #define wxTOOLKIT_PREFIX msw + #if defined(__WXGTK__) + #define wxTOOLKIT_PREFIX gtk2 + #else + #define wxTOOLKIT_PREFIX msw + #endif #endif // wxTOOLKIT_PREFIX // the real setup.h header file we need is in the build-specific directory, @@ -225,4 +229,16 @@ #if wxUSE_URL_NATIVE #pragma comment(lib, "wininet") #endif + + #ifdef __WXGTK__ + #pragma comment(lib, "gtk-win32-2.0.lib") + #pragma comment(lib, "gdk-win32-2.0.lib") + #pragma comment(lib, "pangocairo-1.0.lib") + #pragma comment(lib, "gdk_pixbuf-2.0.lib") + #pragma comment(lib, "cairo.lib") + #pragma comment(lib, "pango-1.0.lib") + #pragma comment(lib, "gobject-2.0.lib") + #pragma comment(lib, "gthread-2.0.lib") + #pragma comment(lib, "glib-2.0.lib") + #endif #endif // !WXUSINGDLL