Applied [ 827604 ] missing method for wxCalendarEvent

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2003-12-11 09:56:02 +00:00
parent b6fa290b5a
commit 12ac619f42
2 changed files with 14 additions and 0 deletions

View File

@ -451,3 +451,15 @@ Returns the week day on which the user clicked in
{\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} handler. It doesn't make sense to call
this function in other handlers.
\membersection{wxCalendarEvent::SetDate}{wxcalendareventsetdate}
\func{void}{SetDate}{\param{const wxDateTime\&}{ date}}
Sets the date.
\membersection{wxCalendarEvent::SetWeekDay}{wxcalendareventsetweekday}
\func{void}{SetWeekDay}{\param{wxDateTime::WeekDay}{ day}}
Sets the week day.

View File

@ -169,6 +169,8 @@ public:
wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type);
const wxDateTime& GetDate() const { return m_date; }
void SetDate(const wxDateTime &date) { m_date = date; }
void SetWeekDay(const wxDateTime::WeekDay wd) { m_wday = wd; }
wxDateTime::WeekDay GetWeekDay() const { return m_wday; }
protected: