- #if wxUSE_LIBTIFF
- #pragma comment(lib,"wxtiffd")
- #endif
- #if wxUSE_ZLIB
- #pragma comment(lib,"wxzlibd")
- #endif
- #pragma comment(lib,"wxbase26ud")
- #pragma comment(lib,"wxbase26ud_net")
- #pragma comment(lib,"wxbase26ud_xml")
- #pragma comment(lib,"wxmsw26ud_adv")
- #pragma comment(lib,"wxmsw26ud_core")
- #pragma comment(lib,"wxmsw26ud_html")
- #pragma comment(lib,"wxmsw26ud_qa")
- #pragma comment(lib,"wxmsw26ud_xrc")
- #if wxUSE_MEDIACTRL
- #pragma comment(lib,"wxmsw26ud_media")
- #endif
+
+ #if wxUSE_GUI
+ #if wxUSE_XML
+ #pragma comment(lib,"wxexpatd")
+ #endif
+ #if wxUSE_LIBJPEG
+ #pragma comment(lib,"wxjpegd")
+ #endif
+ #if wxUSE_LIBPNG
+ #pragma comment(lib,"wxpngd")
+ #endif
+ #if wxUSE_LIBTIFF
+ #pragma comment(lib,"wxtiffd")
+ #endif
+ #if wxUSE_ZLIB
+ #pragma comment(lib,"wxzlibd")
+ #endif
+ #pragma comment(lib,"wxmsw29ud_adv")
+ #pragma comment(lib,"wxmsw29ud_core")
+ #pragma comment(lib,"wxmsw29ud_html")
+ #if wxUSE_GLCANVAS
+ #pragma comment(lib,"wxmsw29ud_gl")
+ #endif
+ #if wxUSE_DEBUGREPORT
+ #pragma comment(lib,"wxmsw29ud_qa")
+ #endif
+ #if wxUSE_XRC
+ #pragma comment(lib,"wxmsw29ud_xrc")
+ #endif
+ #if wxUSE_AUI
+ #pragma comment(lib,"wxmsw29ud_aui")
+ #endif
+ #if wxUSE_RICHTEXT
+ #pragma comment(lib,"wxmsw29ud_richtext")
+ #endif
+ #if wxUSE_MEDIACTRL
+ #pragma comment(lib,"wxmsw29ud_media")
+ #endif
+ #if wxUSE_ODBC
+ #pragma comment(lib,"wxbase29ud_odbc")
+ #endif
+ #endif // wxUSE_GUI