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:
@@ -36,6 +36,10 @@
|
|||||||
#endif // Unix/!Unix
|
#endif // Unix/!Unix
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !wxUSE_GUI && !defined(__WXBASE__)
|
||||||
|
#define __WXBASE__
|
||||||
|
#endif
|
||||||
|
|
||||||
// include the feature test macros
|
// include the feature test macros
|
||||||
#include "wx/features.h"
|
#include "wx/features.h"
|
||||||
|
|
||||||
@@ -78,16 +82,6 @@
|
|||||||
|
|
||||||
#include "wx/version.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
|
// non portable C++ features
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
|
Reference in New Issue
Block a user