]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/datetimectrl.h
guarding agains NULL
[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 // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_OSX_DATETIMECTRL_H_
12 #define _WX_OSX_DATETIMECTRL_H_
13
14 class wxDateTimeWidgetImpl;
15
16 // ----------------------------------------------------------------------------
17 // wxDateTimePickerCtrl
18 // ----------------------------------------------------------------------------
19
20 class WXDLLIMPEXP_ADV wxDateTimePickerCtrl : public wxDateTimePickerCtrlBase
21 {
22 public:
23 // Implement the base class pure virtuals.
24 virtual void SetValue(const wxDateTime& dt);
25 virtual wxDateTime GetValue() const;
26
27 // Implementation only.
28 virtual void OSXGenerateEvent(const wxDateTime& dt) = 0;
29
30 protected:
31 wxDateTimeWidgetImpl* GetDateTimePeer() const;
32 };
33
34 #endif // _WX_OSX_DATETIMECTRL_H_