]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/dateevt.h
Add test for absence of events from wxSpinCtrlDouble ctor.
[wxWidgets.git] / interface / wx / dateevt.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: dateevt.h
3 // Purpose: interface of wxDateEvent
4 // Author: wxWidgets team
5 // Licence: wxWindows licence
6 /////////////////////////////////////////////////////////////////////////////
7
8 /**
9 @class wxDateEvent
10
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.
14
15 @library{wxadv}
16 @category{events}
17 */
18 class wxDateEvent : public wxCommandEvent
19 {
20 public:
21 wxDateEvent();
22 wxDateEvent(wxWindow *win, const wxDateTime& dt, wxEventType type);
23
24 /**
25 Returns the date.
26 */
27 const wxDateTime& GetDate() const;
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 };
35
36 wxEventType wxEVT_DATE_CHANGED;
37 wxEventType wxEVT_TIME_CHANGED;