]> git.saurik.com Git - wxWidgets.git/blame_incremental - interface/wx/dateevt.h
Better name for wxXmlResource::GetDirection() argument.
[wxWidgets.git] / interface / wx / dateevt.h
... / ...
CommitLineData
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*/
18class wxDateEvent : public wxCommandEvent
19{
20public:
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
36wxEventType wxEVT_DATE_CHANGED;
37wxEventType wxEVT_TIME_CHANGED;