]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/dateevt.h
Applied #15226 with modifications: wxRichTextCtrl: Implement setting properties with...
[wxWidgets.git] / interface / wx / dateevt.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: dateevt.h
e54c96f1 3// Purpose: interface of wxDateEvent
23324ae1 4// Author: wxWidgets team
526954c5 5// Licence: wxWindows licence
23324ae1
FM
6/////////////////////////////////////////////////////////////////////////////
7
8/**
9 @class wxDateEvent
7c913512 10
23324ae1
FM
11 This event class holds information about a date change and is used together
12 with wxDatePickerCtrl. It also serves as a base class
13 for wxCalendarEvent.
7c913512 14
23324ae1
FM
15 @library{wxadv}
16 @category{events}
17*/
18class wxDateEvent : public wxCommandEvent
19{
20public:
073b976d
RD
21 wxDateEvent();
22 wxDateEvent(wxWindow *win, const wxDateTime& dt, wxEventType type);
23
23324ae1
FM
24 /**
25 Returns the date.
26 */
b91c4601 27 const wxDateTime& GetDate() const;
23324ae1
FM
28
29 /**
30 Sets the date carried by the event, normally only used by the library
31 internally.
32 */
33 void SetDate(const wxDateTime& date);
34};
e54c96f1 35
073b976d
RD
36wxEventType wxEVT_DATE_CHANGED;
37wxEventType wxEVT_TIME_CHANGED;