From: Vadim Zeitlin Date: Thu, 19 Jun 2003 23:39:51 +0000 (+0000) Subject: added __WXBASE__ define; removed duplicated (in wx/chkconf.h) compatibility section X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a6ab05be988523913fb6bdcb33238c83129f80ee added __WXBASE__ define; removed duplicated (in wx/chkconf.h) compatibility section git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index 74a646b985..1eab4c5e11 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -36,6 +36,10 @@ #endif // Unix/!Unix #endif +#if !wxUSE_GUI && !defined(__WXBASE__) + #define __WXBASE__ +#endif + // include the feature test macros #include "wx/features.h" @@ -78,16 +82,6 @@ #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 // ============================================================================