From: Stefan Csomor Date: Sun, 11 Aug 2013 06:39:20 +0000 (+0000) Subject: using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c8841d1493e0d19085990c9e331dd85c4da45d8e using #ifdef wxABORT_ON_CONFIG_ERROR not just #if as elsewhere git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 0e431e91b2..47fa8ee467 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -2208,7 +2208,7 @@ # 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 @@ -2216,7 +2216,7 @@ # endif # endif # else -# if wxABORT_ON_CONFIG_ERROR +# ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_PREFERENCES_EDITOR requires wxNotebook" # else # undef wxUSE_PREFERENCES_EDITOR