X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd9f7fea29e3f8bb61861f52984b7943512346ac..e732529375cfcca3b0bc79c37e350cb7a80525c6:/wxPython/src/calendar.i diff --git a/wxPython/src/calendar.i b/wxPython/src/calendar.i index 80eb674984..d513513e44 100644 --- a/wxPython/src/calendar.i +++ b/wxPython/src/calendar.i @@ -109,6 +109,8 @@ public: wxCalendarEvent(wxCalendarCtrl *cal, wxEventType type); const wxDateTime& GetDate() const; + void SetDate(const wxDateTime &date); + void SetWeekDay(const wxDateTime::WeekDay wd); wxDateTime::WeekDay GetWeekDay() const; }; @@ -134,9 +136,7 @@ EVT_CALENDAR_WEEKDAY_CLICKED = wx.PyEventBinder( wxEVT_CALENDAR_WEEKDAY_CLICKED, //--------------------------------------------------------------------------- -%{ - DECLARE_DEF_STRING(CalendarNameStr); -%} +MAKE_CONST_WXSTRING(CalendarNameStr); @@ -241,6 +241,9 @@ public: bool Enable(bool enable = True); bool Show(bool show = True); + // get the currently shown control for month/year + wxControl *GetMonthControl() const; + wxControl *GetYearControl() const; };