Fix wx compilation and silence a warning when compiling wx

This commit is contained in:
Thomas Goyne 2013-08-19 09:07:22 -07:00
parent 0a2c0ab75e
commit 6c5adde19a
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,9 @@
#ifndef wxUSE_GUI #ifndef wxUSE_GUI
#define wxUSE_GUI 1 #define wxUSE_GUI 1
#endif #endif
#ifdef wxUSE_UNICODE
#undef wxUSE_UNICODE
#endif
#define WXWIN_COMPATIBILITY_2_4 0 #define WXWIN_COMPATIBILITY_2_4 0
#define WXWIN_COMPATIBILITY_2_6 0 #define WXWIN_COMPATIBILITY_2_6 0
#define WXWIN_COMPATIBILITY_2_8 0 #define WXWIN_COMPATIBILITY_2_8 0
@ -249,4 +252,5 @@
#define wxUSE_WEBVIEW 0 #define wxUSE_WEBVIEW 0
#define wxUSE_RICHTOOLTIP 0 #define wxUSE_RICHTOOLTIP 0
#define wxUSE_COMPILER_TLS 1 #define wxUSE_COMPILER_TLS 1
#define wxUSE_PREFERENCES_EDITOR 0
#endif #endif