]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/datetimectrl.h
support SDK < 10.6, fixes #14902
[wxWidgets.git] / include / wx / datetimectrl.h
index 453c9174b53bd68575164eb864d3bedac1eb3942..a3bdac2d47964a820ffed77a189d584b2f50fc58 100644 (file)
@@ -35,10 +35,10 @@ public:
     virtual wxDateTime GetValue() const = 0;
 };
 
     virtual wxDateTime GetValue() const = 0;
 };
 
-// Only MSW currently has any code to share between wxDatePickerCtrl and
-// wxTimePickerCtrl, under the other platforms this class is trivial.
 #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/datetimectrl.h"
 #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/datetimectrl.h"
+#elif defined(__WXOSX_COCOA__) && !defined(__WXUNIVERSAL__)
+    #include "wx/osx/datetimectrl.h"
 #else
     typedef wxDateTimePickerCtrlBase wxDateTimePickerCtrl;
 #endif
 #else
     typedef wxDateTimePickerCtrlBase wxDateTimePickerCtrl;
 #endif