Disable wxDatePickerCtrl if wxPopupWindow is not available

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-01-21 22:12:13 +00:00
parent e273151278
commit 104fa1124d

View File

@@ -1609,5 +1609,11 @@
# endif # endif
#endif /* wxUSE_XRC */ #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 */ #endif /* wxUSE_GUI */