X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68a7581156420bb1ec255390e7237c0e070725d7..6058220154150a2f60b09198a444411873050e52:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index e77530826d..fbccbd0be4 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1262,6 +1262,17 @@ # endif #endif /* wxUSE_CALENDARCTRL */ +#if wxUSE_DATEPICKCTRL +# if !wxUSE_DATETIME +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxDatePickerCtrl requires wxUSE_DATETIME" +# else +# undef wxUSE_DATETIME +# define wxUSE_DATETIME 1 +# endif +# endif +#endif /* wxUSE_DATEPICKCTRL */ + #if wxUSE_CHECKLISTBOX # if !wxUSE_LISTBOX # ifdef wxABORT_ON_CONFIG_ERROR