X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/569c7d8ccb0c3f350b50f0f8435b6c6ac3d78cc8..f6669958924c3c3833e2932b65598b06073d2e65:/include/wx/datetimectrl.h 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