1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/timectrl.h
3 // Purpose: Declaration of wxOSX-specific wxTimePickerCtrl class.
4 // Author: Vadim Zeitlin
6 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_OSX_TIMECTRL_H_
11 #define _WX_OSX_TIMECTRL_H_
13 // ----------------------------------------------------------------------------
15 // ----------------------------------------------------------------------------
17 class WXDLLIMPEXP_ADV wxTimePickerCtrl
: public wxTimePickerCtrlBase
21 wxTimePickerCtrl() { }
23 wxTimePickerCtrl(wxWindow
*parent
,
25 const wxDateTime
& dt
= wxDefaultDateTime
,
26 const wxPoint
& pos
= wxDefaultPosition
,
27 const wxSize
& size
= wxDefaultSize
,
28 long style
= wxTP_DEFAULT
,
29 const wxValidator
& validator
= wxDefaultValidator
,
30 const wxString
& name
= wxTimePickerCtrlNameStr
)
32 Create(parent
, id
, dt
, pos
, size
, style
, validator
, name
);
35 bool Create(wxWindow
*parent
,
37 const wxDateTime
& dt
= wxDefaultDateTime
,
38 const wxPoint
& pos
= wxDefaultPosition
,
39 const wxSize
& size
= wxDefaultSize
,
40 long style
= wxTP_DEFAULT
,
41 const wxValidator
& validator
= wxDefaultValidator
,
42 const wxString
& name
= wxTimePickerCtrlNameStr
);
44 virtual void OSXGenerateEvent(const wxDateTime
& dt
);
47 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxTimePickerCtrl
);
50 #endif // _WX_OSX_TIMECTRL_H_