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:
@@ -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
|
{\tt EVT\_CALENDAR\_WEEKDAY\_CLICKED} handler. It doesn't make sense to call
|
||||||
this function in other handlers.
|
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.
|
||||||
|
|
||||||
|
@@ -169,6 +169,8 @@ public:
|
|||||||
wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type);
|
wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type);
|
||||||
|
|
||||||
const wxDateTime& GetDate() const { return m_date; }
|
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; }
|
wxDateTime::WeekDay GetWeekDay() const { return m_wday; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Reference in New Issue
Block a user