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
This commit is contained in:
parent
8abbca789f
commit
c8841d1493
@ -2208,7 +2208,7 @@
|
|||||||
# if !wxUSE_NOTEBOOK
|
# if !wxUSE_NOTEBOOK
|
||||||
# ifdef __WXOSX_COCOA__
|
# ifdef __WXOSX_COCOA__
|
||||||
# if !wxUSE_TOOLBAR || !wxOSX_USE_NATIVE_TOOLBAR
|
# 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"
|
# error "wxUSE_PREFERENCES_EDITOR requires native toolbar in wxOSX"
|
||||||
# else
|
# else
|
||||||
# undef wxUSE_PREFERENCES_EDITOR
|
# undef wxUSE_PREFERENCES_EDITOR
|
||||||
@ -2216,7 +2216,7 @@
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
# if wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
# error "wxUSE_PREFERENCES_EDITOR requires wxNotebook"
|
# error "wxUSE_PREFERENCES_EDITOR requires wxNotebook"
|
||||||
# else
|
# else
|
||||||
# undef wxUSE_PREFERENCES_EDITOR
|
# undef wxUSE_PREFERENCES_EDITOR
|
||||||
|
Loading…
Reference in New Issue
Block a user