From: Robin Dunn Date: Fri, 21 Jan 2005 22:12:13 +0000 (+0000) Subject: Disable wxDatePickerCtrl if wxPopupWindow is not available X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/104fa1124db01b857ff0faa3046340e32e4d7f02 Disable wxDatePickerCtrl if wxPopupWindow is not available git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 5072accba8..6a51a7ad71 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1609,5 +1609,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 */