From 12ac619f42b81420980aec14afc9433af6f911dc Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 11 Dec 2003 09:56:02 +0000 Subject: [PATCH] Applied [ 827604 ] missing method for wxCalendarEvent git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/calctrl.tex | 12 ++++++++++++ include/wx/calctrl.h | 2 ++ 2 files changed, 14 insertions(+) diff --git a/docs/latex/wx/calctrl.tex b/docs/latex/wx/calctrl.tex index 068282a468..d13b88f1d5 100644 --- a/docs/latex/wx/calctrl.tex +++ b/docs/latex/wx/calctrl.tex @@ -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. + diff --git a/include/wx/calctrl.h b/include/wx/calctrl.h index 285b737065..cb12b7ef04 100644 --- a/include/wx/calctrl.h +++ b/include/wx/calctrl.h @@ -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: