]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/datetimectrl.h
wxDialogBase only has one ctor, so just do initialization in ctor instead of Init()
[wxWidgets.git] / include / wx / osx / datetimectrl.h
CommitLineData
fceac6bb
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/osx/datetimectrl.h
3// Purpose: Declaration of wxOSX-specific wxDateTimePickerCtrl class.
4// Author: Vadim Zeitlin
5// Created: 2011-12-18
fceac6bb
VZ
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
13class wxDateTimeWidgetImpl;
14
15// ----------------------------------------------------------------------------
16// wxDateTimePickerCtrl
17// ----------------------------------------------------------------------------
18
19class WXDLLIMPEXP_ADV wxDateTimePickerCtrl : public wxDateTimePickerCtrlBase
20{
21public:
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
29protected:
30 wxDateTimeWidgetImpl* GetDateTimePeer() const;
31};
32
33#endif // _WX_OSX_DATETIMECTRL_H_