// Purpose: interface of wxTimePickerCtrl
// Author: Vadim Zeitlin
// Created: 2011-09-22
-// RCS-ID: $Id$
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+/**
+ Styles used with wxTimePickerCtrl.
+
+ Currently no special styles are defined for this object.
+
+ @library{wxadv}
+ @category{pickers}
+
+ @since 2.9.3
+ */
+enum
+{
+ wxTP_DEFAULT = 0
+};
+
/**
@class wxTimePickerCtrl
@library{wxadv}
@category{pickers}
- @appearance{timepickerctrl.png}
+ @appearance{timepickerctrl}
@see wxDatePickerCtrl, wxDateEvent
class wxTimePickerCtrl : public wxControl
{
public:
+ /**
+ Default constructor.
+ */
+ wxTimePickerCtrl();
+
/**
Initializes the object and calls Create() with all the parameters.
*/
The date part of the returned wxDateTime object is always set to today
and should be ignored, only the time part is relevant.
*/
- virtual wxDateTime GetValue() const = 0;
+ virtual wxDateTime GetValue() const;
/**
Changes the current time of the control.
Calling this method does not result in a time change event.
*/
- virtual void SetValue(const wxDateTime& dt) = 0;
+ virtual void SetValue(const wxDateTime& dt);
};