]> git.saurik.com Git - wxWidgets.git/commitdiff
added __WXBASE__ define; removed duplicated (in wx/chkconf.h) compatibility section
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 19 Jun 2003 23:39:51 +0000 (23:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 19 Jun 2003 23:39:51 +0000 (23:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 74a646b985ab54733a3baaba0ecb45600f6caed0..1eab4c5e113ebae98d1f450407fccff103bd0c35 100644 (file)
 #endif // Unix/!Unix
 #endif
 
+#if !wxUSE_GUI && !defined(__WXBASE__)
+    #define __WXBASE__
+#endif
+
 // include the feature test macros
 #include "wx/features.h"
 
 
 #include "wx/version.h"
 
-// possibility to build non GUI apps is new, so don't burden ourselves with
-// compatibility code
-#if !wxUSE_GUI
-#undef WXWIN_COMPATIBILITY_2
-#undef WXWIN_COMPATIBILITY_2_2
-
-#define WXWIN_COMPATIBILITY_2 0
-#define WXWIN_COMPATIBILITY_2_2 0
-#endif // !GUI
-
 // ============================================================================
 // non portable C++ features
 // ============================================================================