]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: dateevt.h | |
3 | // Purpose: interface of wxDateEvent | |
4 | // Author: wxWidgets team | |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /** | |
10 | @class wxDateEvent | |
11 | @wxheader{dateevt.h} | |
12 | ||
13 | This event class holds information about a date change and is used together | |
14 | with wxDatePickerCtrl. It also serves as a base class | |
15 | for wxCalendarEvent. | |
16 | ||
17 | @library{wxadv} | |
18 | @category{events} | |
19 | */ | |
20 | class wxDateEvent : public wxCommandEvent | |
21 | { | |
22 | public: | |
23 | /** | |
24 | Returns the date. | |
25 | */ | |
26 | const wxDateTime GetDate() const; | |
27 | ||
28 | /** | |
29 | Sets the date carried by the event, normally only used by the library | |
30 | internally. | |
31 | */ | |
32 | void SetDate(const wxDateTime& date); | |
33 | }; | |
34 |