2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dateevt.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of wxDateEvent
|
2008-03-08 13:52:38 +00:00
|
|
|
// Author: wxWidgets team
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxDateEvent
|
|
|
|
@wxheader{dateevt.h}
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00: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 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
@library{wxadv}
|
|
|
|
@category{events}
|
|
|
|
*/
|
|
|
|
class wxDateEvent : public wxCommandEvent
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
Returns the date.
|
|
|
|
*/
|
2008-03-09 16:24:26 +00:00
|
|
|
const wxDateTime GetDate() const;
|
2008-03-08 13:52:38 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
Sets the date carried by the event, normally only used by the library
|
|
|
|
internally.
|
|
|
|
*/
|
|
|
|
void SetDate(const wxDateTime& date);
|
|
|
|
};
|
2008-03-10 15:24:38 +00:00
|
|
|
|