From 104fa1124db01b857ff0faa3046340e32e4d7f02 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 21 Jan 2005 22:12:13 +0000 Subject: [PATCH] Disable wxDatePickerCtrl if wxPopupWindow is not available git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/chkconf.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- 2.47.2