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
This commit is contained in:
Vadim Zeitlin
2003-06-19 23:39:51 +00:00
parent a434b43fd4
commit a6ab05be98

View File

@@ -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
// ============================================================================