]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/datetimectrl.h
wxRTC: fixed guidelines overwriting adjacent cell borders; corrected capitalisation...
[wxWidgets.git] / include / wx / osx / datetimectrl.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/datetimectrl.h
3 // Purpose: Declaration of wxOSX-specific wxDateTimePickerCtrl class.
4 // Author: Vadim Zeitlin
5 // Created: 2011-12-18
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_OSX_DATETIMECTRL_H_
11 #define _WX_OSX_DATETIMECTRL_H_
12
13 class wxDateTimeWidgetImpl;
14
15 // ----------------------------------------------------------------------------
16 // wxDateTimePickerCtrl
17 // ----------------------------------------------------------------------------
18
19 class WXDLLIMPEXP_ADV wxDateTimePickerCtrl : public wxDateTimePickerCtrlBase
20 {
21 public:
22 // Implement the base class pure virtuals.
23 virtual void SetValue(const wxDateTime& dt);
24 virtual wxDateTime GetValue() const;
25
26 // Implementation only.
27 virtual void OSXGenerateEvent(const wxDateTime& dt) = 0;
28
29 protected:
30 wxDateTimeWidgetImpl* GetDateTimePeer() const;
31 };
32
33 #endif // _WX_OSX_DATETIMECTRL_H_