]> git.saurik.com Git - wxWidgets.git/commitdiff
Disable wxDatePickerCtrl if wxPopupWindow is not available
authorRobin Dunn <robin@alldunn.com>
Fri, 21 Jan 2005 22:12:13 +0000 (22:12 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 21 Jan 2005 22:12:13 +0000 (22:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index 5072accba8653325fc3099f48f550db9ee3befb8..6a51a7ad714368b478fbce89501f70df6e170857 100644 (file)
 #   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 */