add wxToolbook checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1274,6 +1274,7 @@
|
||||
#define wxUSE_BOOKCTRL (wxUSE_NOTEBOOK || \
|
||||
wxUSE_LISTBOOK || \
|
||||
wxUSE_CHOICEBOOK || \
|
||||
wxUSE_TOOLBOOK || \
|
||||
wxUSE_TREEBOOK)
|
||||
|
||||
#if wxUSE_COLLPANE
|
||||
@@ -1309,6 +1310,17 @@
|
||||
# endif
|
||||
#endif /* wxUSE_CHOICEBOOK */
|
||||
|
||||
#if wxUSE_TOOLBOOK
|
||||
# if !wxUSE_TOOLBAR
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxToolbook requires wxToolBar"
|
||||
# else
|
||||
# undef wxUSE_TOOLBAR
|
||||
# define wxUSE_TOOLBAR 1
|
||||
# endif
|
||||
# endif
|
||||
#endif /* wxUSE_TOOLBOOK */
|
||||
|
||||
#if !wxUSE_ODCOMBOBOX
|
||||
# if wxUSE_BITMAPCOMBOBOX
|
||||
# error "wxBitmapComboBox requires wxOwnerDrawnComboBox"
|
||||
|
Reference in New Issue
Block a user