X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0795ce8ea8a3f50ce32a2b9aad1cc3bcc458205..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/timectrl.h?ds=sidebyside diff --git a/interface/wx/timectrl.h b/interface/wx/timectrl.h index 42a7e18a2b..5b25143048 100644 --- a/interface/wx/timectrl.h +++ b/interface/wx/timectrl.h @@ -3,11 +3,25 @@ // Purpose: interface of wxTimePickerCtrl // Author: Vadim Zeitlin // Created: 2011-09-22 -// RCS-ID: $Id$ // Copyright: (c) 2011 Vadim Zeitlin // 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 @@ -30,7 +44,7 @@ @library{wxadv} @category{pickers} - @appearance{timepickerctrl.png} + @appearance{timepickerctrl} @see wxDatePickerCtrl, wxDateEvent @@ -39,6 +53,11 @@ class wxTimePickerCtrl : public wxControl { public: + /** + Default constructor. + */ + wxTimePickerCtrl(); + /** Initializes the object and calls Create() with all the parameters. */ @@ -106,7 +125,7 @@ public: 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. @@ -142,5 +161,5 @@ public: Calling this method does not result in a time change event. */ - virtual void SetValue(const wxDateTime& dt) = 0; + virtual void SetValue(const wxDateTime& dt); };