X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..fc63fb9aafcdebf0e5ed04c768457bf61148af0c:/interface/wx/dateevt.h diff --git a/interface/wx/dateevt.h b/interface/wx/dateevt.h index 13bb4bb7e5..5ff704eabb 100644 --- a/interface/wx/dateevt.h +++ b/interface/wx/dateevt.h @@ -2,13 +2,11 @@ // Name: dateevt.h // Purpose: interface of wxDateEvent // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @class wxDateEvent - @wxheader{dateevt.h} This event class holds information about a date change and is used together with wxDatePickerCtrl. It also serves as a base class @@ -20,10 +18,13 @@ class wxDateEvent : public wxCommandEvent { public: + wxDateEvent(); + wxDateEvent(wxWindow *win, const wxDateTime& dt, wxEventType type); + /** Returns the date. */ - const wxDateTime GetDate() const; + const wxDateTime& GetDate() const; /** Sets the date carried by the event, normally only used by the library @@ -32,3 +33,5 @@ public: void SetDate(const wxDateTime& date); }; +wxEventType wxEVT_DATE_CHANGED; +wxEventType wxEVT_TIME_CHANGED;