X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8957e55ed3292874c54db019be74ef152c962d96..d73efa0b9c06aec0a4b39af3b7d1eab424068f83:/include/wx/datetimectrl.h diff --git a/include/wx/datetimectrl.h b/include/wx/datetimectrl.h index 90da113f99..30f23dfffe 100644 --- a/include/wx/datetimectrl.h +++ b/include/wx/datetimectrl.h @@ -3,7 +3,6 @@ // Purpose: Declaration of wxDateTimePickerCtrl class. // Author: Vadim Zeitlin // Created: 2011-09-22 -// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -13,7 +12,7 @@ #include "wx/defs.h" -#if wxUSE_DATEPICKCTRL +#if wxUSE_DATEPICKCTRL || wxUSE_TIMEPICKCTRL #define wxNEEDS_DATETIMEPICKCTRL @@ -35,14 +34,14 @@ 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 -#endif // wxUSE_DATEPICKCTRL +#endif // wxUSE_DATEPICKCTRL || wxUSE_TIMEPICKCTRL #endif // _WX_DATETIME_CTRL_H_