]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/dateevt.h
Document wxListBox limitation concerning TAB characters.
[wxWidgets.git] / interface / wx / dateevt.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: dateevt.h
e54c96f1 3// Purpose: interface of wxDateEvent
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
526954c5 6// Licence: wxWindows licence
23324ae1
FM
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxDateEvent
7c913512 11
23324ae1
FM
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.
7c913512 15
23324ae1
FM
16 @library{wxadv}
17 @category{events}
18*/
19class wxDateEvent : public wxCommandEvent
20{
21public:
073b976d
RD
22 wxDateEvent();
23 wxDateEvent(wxWindow *win, const wxDateTime& dt, wxEventType type);
24
23324ae1
FM
25 /**
26 Returns the date.
27 */
b91c4601 28 const wxDateTime& GetDate() const;
23324ae1
FM
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};
e54c96f1 36
073b976d
RD
37wxEventType wxEVT_DATE_CHANGED;
38wxEventType wxEVT_TIME_CHANGED;