X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/569c7d8ccb0c3f350b50f0f8435b6c6ac3d78cc8..7ddb15416407390de67cc26b04e91ea99a521f57:/include/wx/datetimectrl.h?ds=sidebyside diff --git a/include/wx/datetimectrl.h b/include/wx/datetimectrl.h index 453c9174b5..a3bdac2d47 100644 --- a/include/wx/datetimectrl.h +++ b/include/wx/datetimectrl.h @@ -35,10 +35,10 @@ public: 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" +#elif defined(__WXOSX_COCOA__) && !defined(__WXUNIVERSAL__) + #include "wx/osx/datetimectrl.h" #else typedef wxDateTimePickerCtrlBase wxDateTimePickerCtrl; #endif