Contents Up Previous Next

wxCalendarEvent

The wxCalendarEvent class is used together with wxCalendarCtrl.

See also

wxCalendarCtrl

Members

wxCalendarEvent::GetDate
wxCalendarEvent::GetWeekDay
wxCalendarEvent::SetDate
wxCalendarEvent::SetWeekDay


wxCalendarEvent::GetDate

const wxDateTime& GetDate() const

Returns the date. This function may be called for all event types except EVT_CALENDAR_WEEKDAY_CLICKED one for which it doesn't make sense.


wxCalendarEvent::GetWeekDay

wxDateTime::WeekDay GetWeekDay() const

Returns the week day on which the user clicked in EVT_CALENDAR_WEEKDAY_CLICKED handler. It doesn't make sense to call this function in other handlers.


wxCalendarEvent::SetDate

void SetDate(const wxDateTime& date)

Sets the date.


wxCalendarEvent::SetWeekDay

void SetWeekDay(wxDateTime::WeekDay day)

Sets the week day.