1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/timectrl.h
3 // Purpose: Declaration of wxOSX-specific wxTimePickerCtrl class.
4 // Author: Vadim Zeitlin
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 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_OSX_TIMECTRL_H_
12 #define _WX_OSX_TIMECTRL_H_
14 // ----------------------------------------------------------------------------
16 // ----------------------------------------------------------------------------
18 class WXDLLIMPEXP_ADV wxTimePickerCtrl
: public wxTimePickerCtrlBase
22 wxTimePickerCtrl() { }
24 wxTimePickerCtrl(wxWindow
*parent
,
26 const wxDateTime
& dt
= wxDefaultDateTime
,
27 const wxPoint
& pos
= wxDefaultPosition
,
28 const wxSize
& size
= wxDefaultSize
,
29 long style
= wxTP_DEFAULT
,
30 const wxValidator
& validator
= wxDefaultValidator
,
31 const wxString
& name
= wxTimePickerCtrlNameStr
)
33 Create(parent
, id
, dt
, pos
, size
, style
, validator
, name
);
36 bool Create(wxWindow
*parent
,
38 const wxDateTime
& dt
= wxDefaultDateTime
,
39 const wxPoint
& pos
= wxDefaultPosition
,
40 const wxSize
& size
= wxDefaultSize
,
41 long style
= wxTP_DEFAULT
,
42 const wxValidator
& validator
= wxDefaultValidator
,
43 const wxString
& name
= wxTimePickerCtrlNameStr
);
45 virtual void OSXGenerateEvent(const wxDateTime
& dt
);
48 wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxTimePickerCtrl
);
51 #endif // _WX_OSX_TIMECTRL_H_