]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetimectrl.h
Added helpers for translating between wxDateTime and NSDate.
[wxWidgets.git] / include / wx / datetimectrl.h
index 90da113f99135105d21e0636ecf5b9575fed5d28..453c9174b53bd68575164eb864d3bedac1eb3942 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "wx/defs.h"
 
 
 #include "wx/defs.h"
 
-#if wxUSE_DATEPICKCTRL
+#if wxUSE_DATEPICKCTRL || wxUSE_TIMEPICKCTRL
 
 #define wxNEEDS_DATETIMEPICKCTRL
 
 
 #define wxNEEDS_DATETIMEPICKCTRL
 
@@ -43,6 +43,6 @@ public:
     typedef wxDateTimePickerCtrlBase wxDateTimePickerCtrl;
 #endif
 
     typedef wxDateTimePickerCtrlBase wxDateTimePickerCtrl;
 #endif
 
-#endif // wxUSE_DATEPICKCTRL
+#endif // wxUSE_DATEPICKCTRL || wxUSE_TIMEPICKCTRL
 
 #endif // _WX_DATETIME_CTRL_H_
 
 #endif // _WX_DATETIME_CTRL_H_