X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea4ff2ad5a1f830371149f11ba93be2bf5021f9d..25474dcaded8b33e5e21512616b52a3d196d5015:/include/wx/chkconf.h?ds=sidebyside diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index f92c358705..2283731933 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -419,6 +419,14 @@ # endif #endif /* !defined(wxUSE_JOYSTICK) */ +#ifndef wxUSE_LISTBOOK +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_LISTBOOK must be defined." +# else +# define wxUSE_LISTBOOK 0 +# endif +#endif /* !defined(wxUSE_LISTBOOK) */ + #ifndef wxUSE_LISTBOX # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_LISTBOX must be defined." @@ -891,7 +899,7 @@ # endif #endif /* controls */ -#if wxUSE_NOTEBOOK +#if wxUSE_NOTEBOOK || wxUSE_LISTBOOK # if defined(wxUSE_BOOKCTRL) && !wxUSE_BOOKCTRL # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_BOOKCTRL must be set." @@ -905,6 +913,17 @@ # endif #endif /* wxUSE_NOTEBOOK */ +#if wxUSE_LISTBOOK +# if !wxUSE_LISTCTRL +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxListbook requires wxListCtrl" +# else +# undef wxUSE_LISTCTRL +# define wxUSE_LISTCTRL 1 +# endif +# endif +#endif /* wxUSE_LISTBOOK */ + /* wxUniv-specific dependencies */ #if defined(__WXUNIVERSAL__) # if (wxUSE_COMBOBOX || wxUSE_MENUS) && !wxUSE_POPUPWIN