X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0795ce8ea8a3f50ce32a2b9aad1cc3bcc458205..cc33ae725d8338fbb499490b69c96968c8fac9cb:/interface/wx/timectrl.h diff --git a/interface/wx/timectrl.h b/interface/wx/timectrl.h index 42a7e18a2b..796db05a0d 100644 --- a/interface/wx/timectrl.h +++ b/interface/wx/timectrl.h @@ -8,6 +8,21 @@ // 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 +45,7 @@ @library{wxadv} @category{pickers} - @appearance{timepickerctrl.png} + @appearance{timepickerctrl} @see wxDatePickerCtrl, wxDateEvent @@ -39,6 +54,11 @@ class wxTimePickerCtrl : public wxControl { public: + /** + Default constructor. + */ + wxTimePickerCtrl(); + /** Initializes the object and calls Create() with all the parameters. */ @@ -106,7 +126,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 +162,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); };