]> git.saurik.com Git - wxWidgets.git/commitdiff
ensure that the compatibility defines are not set for wxBase which doesn't need them
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Feb 2002 18:18:10 +0000 (18:18 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 22 Feb 2002 18:18:10 +0000 (18:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index b3620c8eb81281a0b3792203e396d15cc665b2f0..512a498a38579a9eb0546fb5b811474c4dd0b9f2 100644 (file)
  */
 #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