ensure that the compatibility defines are not set for wxBase which doesn't need them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1800689f23
commit
6962f34ea5
@ -19,6 +19,24 @@
|
|||||||
*/
|
*/
|
||||||
#define wxABORT_ON_CONFIG_ERROR
|
#define wxABORT_ON_CONFIG_ERROR
|
||||||
|
|
||||||
|
/*
|
||||||
|
global features
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* GUI build by default */
|
||||||
|
#if !defined(wxUSE_GUI)
|
||||||
|
# define wxUSE_GUI 1
|
||||||
|
#endif /* !defined(wxUSE_GUI) */
|
||||||
|
|
||||||
|
/* wxBase doesn't need compatibility settings as it's a new port */
|
||||||
|
#if !wxUSE_GUI
|
||||||
|
# undef WXWIN_COMPATIBILITY
|
||||||
|
# undef WXWIN_COMPATIBILITY_2
|
||||||
|
# undef WXWIN_COMPATIBILITY_2_2
|
||||||
|
# define WXWIN_COMPATIBILITY 0
|
||||||
|
# define WXWIN_COMPATIBILITY_2 0
|
||||||
|
# define WXWIN_COMPATIBILITY_2_2 0
|
||||||
|
#endif /* !wxUSE_GUI */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
tests for non GUI features
|
tests for non GUI features
|
||||||
|
Loading…
Reference in New Issue
Block a user