]> 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 744fbf061765672a765548e2b8b1af0f0916422d..b6db50e9f5cea4a43d0994e5fb092662ab77780e 100644 (file)
 #           define wxUSE_ZLIB 1
 #       endif
 #   endif
-#   if !wxUSE_ARCSTREAM
+#   if !wxUSE_ARCHIVE_STREAMS
 #       ifdef wxABORT_ON_CONFIG_ERROR
 #           error "wxZip requires wxArchive"
 #       else
-#           undef wxUSE_ARCSTREAM
-#           define wxUSE_ARCSTREAM 1
+#           undef wxUSE_ARCHIVE_STREAMS
+#           define wxUSE_ARCHIVE_STREAMS 1
 #       endif
 #   endif
 #endif /* wxUSE_ZIPSTREAM */
 #   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
 #   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 */