]> git.saurik.com Git - wxWidgets.git/blame_incremental - interface/wx/dateevt.h
Add ctors for wxFileSystemWatcherEvent
[wxWidgets.git] / interface / wx / dateevt.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: dateevt.h
3// Purpose: interface of wxDateEvent
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows licence
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*/
19class wxDateEvent : public wxCommandEvent
20{
21public:
22 wxDateEvent();
23 wxDateEvent(wxWindow *win, const wxDateTime& dt, wxEventType type);
24
25 /**
26 Returns the date.
27 */
28 const wxDateTime& GetDate() const;
29
30 /**
31 Sets the date carried by the event, normally only used by the library
32 internally.
33 */
34 void SetDate(const wxDateTime& date);
35};
36
37wxEventType wxEVT_DATE_CHANGED;
38wxEventType wxEVT_TIME_CHANGED;