X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68a7581156420bb1ec255390e7237c0e070725d7..3e15dde39639521641eef1508c2de56ebd5ac319:/include/wx/chkconf.h?ds=inline diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index e77530826d..f3d93c1127 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 @@ -1634,5 +1645,14 @@ # endif #endif /* wxUSE_XRC */ +#if wxUSE_SOCKETS && !wxUSE_STOPWATCH +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SOCKETS requires wxUSE_STOPWATCH" +# else +# undef wxUSE_SOCKETS +# define wxUSE_SOCKETS 0 +# endif +#endif /* wxUSE_SOCKETS */ + #endif /* wxUSE_GUI */