The wxCalendarEvent class is used together with wxCalendarCtrl.
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.
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.
void SetDate(const wxDateTime& date)
Sets the date.
void SetWeekDay(wxDateTime::WeekDay day)
Sets the week day.