]> git.saurik.com Git - wxWidgets.git/commitdiff
using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 11 Aug 2013 06:39:20 +0000 (06:39 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 11 Aug 2013 06:39:20 +0000 (06:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 0e431e91b284271ee3c69a3449a6227fd285c01b..47fa8ee4673ae5a52b8579cb28a5f97d3b91306b 100644 (file)
 #   if !wxUSE_NOTEBOOK
 #       ifdef __WXOSX_COCOA__
 #           if !wxUSE_TOOLBAR || !wxOSX_USE_NATIVE_TOOLBAR
-#               if wxABORT_ON_CONFIG_ERROR
+#               ifdef wxABORT_ON_CONFIG_ERROR
 #                   error "wxUSE_PREFERENCES_EDITOR requires native toolbar in wxOSX"
 #               else
 #                   undef wxUSE_PREFERENCES_EDITOR
 #               endif
 #           endif
 #       else
-#           if wxABORT_ON_CONFIG_ERROR
+#           ifdef wxABORT_ON_CONFIG_ERROR
 #               error "wxUSE_PREFERENCES_EDITOR requires wxNotebook"
 #           else
 #               undef wxUSE_PREFERENCES_EDITOR