Expand wxString overview and document some problems due to its dual nature.
[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 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 */
19 class wxDateEvent : public wxCommandEvent
20 {
21 public:
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
37 wxEventType wxEVT_DATE_CHANGED;
38 wxEventType wxEVT_TIME_CHANGED;