From 97e4cf6da52b74dc58c59e780463c614054ec0a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Fri, 30 Jul 2004 19:23:25 +0000 Subject: [PATCH] Additional configuration check. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- 2.47.2