X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..1b7751aaa9a86d76a850b9267bc0c201e3cea30f:/interface/wx/dateevt.h diff --git a/interface/wx/dateevt.h b/interface/wx/dateevt.h index 13bb4bb7e5..73f1d50192 100644 --- a/interface/wx/dateevt.h +++ b/interface/wx/dateevt.h @@ -3,12 +3,11 @@ // 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 +19,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 +34,5 @@ public: void SetDate(const wxDateTime& date); }; +wxEventType wxEVT_DATE_CHANGED; +wxEventType wxEVT_TIME_CHANGED;