- #pragma comment(lib, wxMSW_LIB_NAME("adv"))
- #pragma comment(lib, wxMSW_LIB_NAME("core"))
- #pragma comment(lib, wxMSW_LIB_NAME("html"))
- #if wxUSE_GLCANVAS
- #pragma comment(lib, wxMSW_LIB_NAME("gl"))
- #endif
- #if wxUSE_DEBUGREPORT
- #pragma comment(lib, wxMSW_LIB_NAME("qa"))
- #endif
- #if wxUSE_XRC
- #pragma comment(lib, wxMSW_LIB_NAME("xrc"))
- #endif
- #if wxUSE_AUI
- #pragma comment(lib, wxMSW_LIB_NAME("aui"))
- #endif
- #if wxUSE_RICHTEXT
- #pragma comment(lib, wxMSW_LIB_NAME("richtext"))
- #endif
- #if wxUSE_MEDIACTRL
- #pragma comment(lib, wxMSW_LIB_NAME("media"))
- #endif
- #if wxUSE_ODBC
- #pragma comment(lib, wxMSW_LIB_NAME("odbc"))
+ #ifndef wxNO_ADV_LIB
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("adv"))
+ #endif
+
+ #ifndef wxNO_HTML_LIB
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("html"))
+ #endif
+ #if wxUSE_GLCANVAS && !defined(wxNO_GL_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("gl"))
+ #endif
+ #if wxUSE_DEBUGREPORT && !defined(wxNO_QA_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("qa"))
+ #endif
+ #if wxUSE_XRC && !defined(wxNO_XRC_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("xrc"))
+ #endif
+ #if wxUSE_AUI && !defined(wxNO_AUI_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("aui"))
+ #endif
+ #if wxUSE_PROPGRID && !defined(wxNO_PROPGRID_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("propgrid"))
+ #endif
+ #if wxUSE_RIBBON && !defined(wxNO_RIBBON_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("ribbon"))
+ #endif
+ #if wxUSE_RICHTEXT && !defined(wxNO_RICHTEXT_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("richtext"))
+ #endif
+ #if wxUSE_MEDIACTRL && !defined(wxNO_MEDIA_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("media"))
+ #endif
+ #if wxUSE_STC && !defined(wxNO_STC_LIB)
+ #pragma comment(lib, wxTOOLKIT_LIB_NAME("stc"))
+ #ifndef WXUSINGDLL
+ #pragma comment(lib, wx3RD_PARTY_LIB_NAME("scintilla"))