]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/chkconf.h
fixed Cygwin compilation (there's no _get_osfhandle)
[wxWidgets.git] / include / wx / chkconf.h
index e77530826dee44bcaef38510575a8b315a8c4537..b6db50e9f5cea4a43d0994e5fb092662ab77780e 100644 (file)
 #   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