X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adb799d6ef8e1ba754ab08b26e64fa40219f95f8..68379eaf0ae64d105f8244b1db83e793f7dd83b0:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 438a6a373e..ffd53c7603 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1210,7 +1210,18 @@ # define wxUSE_LISTBOX 1 # endif # endif -#endif /* wxUSE_RADIOBTN */ +#endif /* wxUSE_CHECKLISTBOX */ + +#if wxUSE_CHOICEDLG +# if !wxUSE_LISTBOX +# ifdef wxABORT_ON_CONFIG_ERROR +# error "Choice dialogs requires wxListBox" +# else +# undef wxUSE_LISTBOX +# define wxUSE_LISTBOX 1 +# endif +# endif +#endif /* wxUSE_CHOICEDLG */ #if wxUSE_HELP # if !wxUSE_BMPBUTTON