2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dateevt.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of wxDateEvent
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxDateEvent
|
|
|
|
@wxheader{dateevt.h}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This event class holds information about a date change and is used together
|
|
|
|
with wxDatePickerCtrl. It also serves as a base class
|
|
|
|
for wxCalendarEvent.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxadv}
|
|
|
|
@category{events}
|
|
|
|
*/
|
|
|
|
class wxDateEvent : public wxCommandEvent
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
Returns the date.
|
|
|
|
*/
|
2008-03-09 12:24:26 -04:00
|
|
|
const wxDateTime GetDate() const;
|
2008-03-08 08:52:38 -05:00
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the date carried by the event, normally only used by the library
|
|
|
|
internally.
|
|
|
|
*/
|
|
|
|
void SetDate(const wxDateTime& date);
|
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|