X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b08cd3bf53901e3180e0ee60376807563c828495..f6e9a8189cfd9189418d6c0976a8a07f3bcd914b:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 5072accba8..5ff16d4f32 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1546,13 +1546,19 @@ #endif #if wxUSE_RADIOBOX -# if !wxUSE_RADIOBTN || !wxUSE_STATBOX +# if !wxUSE_RADIOBTN # ifdef wxABORT_ON_CONFIG_ERROR -# error "wxUSE_RADIOBOX requires wxUSE_RADIOBTN and wxUSE_STATBOX" +# error "wxUSE_RADIOBOX requires wxUSE_RADIOBTN" # else # undef wxUSE_RADIOBTN -# undef wxUSE_STATBOX # define wxUSE_RADIOBTN 1 +# endif +# endif +# if !wxUSE_STATBOX && !defined(__WXPALMOS__) +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_RADIOBOX requires wxUSE_STATBOX" +# else +# undef wxUSE_STATBOX # define wxUSE_STATBOX 1 # endif # endif @@ -1609,5 +1615,11 @@ # endif #endif /* wxUSE_XRC */ +/* The generic date picker uses a popup window */ +#if !wxUSE_POPUPWIN +# undef wxUSE_DATEPICKCTRL +# define wxUSE_DATEPICKCTRL 0 +#endif /* !wxUSE_POPUPWIN */ + #endif /* wxUSE_GUI */