]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied [ 827604 ] missing method for wxCalendarEvent
authorJulian Smart <julian@anthemion.co.uk>
Thu, 11 Dec 2003 09:56:02 +0000 (09:56 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 11 Dec 2003 09:56:02 +0000 (09:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/calctrl.tex
include/wx/calctrl.h

index 068282a468b3d9c0ab095371143d41976ef969ad..d13b88f1d54385cf0f46c17f4a5456625b8c31cf 100644 (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.
+
index 285b7370651060e01140d64d501756f9d17aee5e..cb12b7ef0455f4293d2d0dfbcf452e74b861493d 100644 (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: