]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/dateevt.h
Must clear property selection in wxPGProperty::SetChoices() or risk a crash
[wxWidgets.git] / interface / wx / dateevt.h
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
12 This event class holds information about a date change and is used together
13 with wxDatePickerCtrl. It also serves as a base class
14 for wxCalendarEvent.
15
16 @library{wxadv}
17 @category{events}
18 */
19 class wxDateEvent : public wxCommandEvent
20 {
21 public:
22 /**
23 Returns the date.
24 */
25 const wxDateTime& GetDate() const;
26
27 /**
28 Sets the date carried by the event, normally only used by the library
29 internally.
30 */
31 void SetDate(const wxDateTime& date);
32 };
33