X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f460c29d593da752aa2bac1c178d2c58ee563ff3..bfeed34c1cb102300a9a24a50657304e60486700:/wxPython/src/msw/calendar.py diff --git a/wxPython/src/msw/calendar.py b/wxPython/src/msw/calendar.py index eaf91d407d..0a682ed371 100644 --- a/wxPython/src/msw/calendar.py +++ b/wxPython/src/msw/calendar.py @@ -159,8 +159,7 @@ class CalendarDateAttr(object): """GetBorder(self) -> int""" return _calendar.CalendarDateAttr_GetBorder(*args, **kwargs) -CalendarDateAttr_swigregister = _calendar.CalendarDateAttr_swigregister -CalendarDateAttr_swigregister(CalendarDateAttr) +_calendar.CalendarDateAttr_swigregister(CalendarDateAttr) class CalendarEvent(_core.DateEvent): """Proxy of C++ CalendarEvent class""" @@ -185,8 +184,7 @@ class CalendarEvent(_core.DateEvent): """returns datetime.date object""" return _wxdate2pydate(self.GetDate()) -CalendarEvent_swigregister = _calendar.CalendarEvent_swigregister -CalendarEvent_swigregister(CalendarEvent) +_calendar.CalendarEvent_swigregister(CalendarEvent) wxEVT_CALENDAR_DOUBLECLICKED = _calendar.wxEVT_CALENDAR_DOUBLECLICKED wxEVT_CALENDAR_SEL_CHANGED = _calendar.wxEVT_CALENDAR_SEL_CHANGED @@ -525,8 +523,7 @@ class CalendarCtrl(_core.Control): """returns datetime.date object""" return _wxdate2pydate(self.GetUpperDateLimit()) -CalendarCtrl_swigregister = _calendar.CalendarCtrl_swigregister -CalendarCtrl_swigregister(CalendarCtrl) +_calendar.CalendarCtrl_swigregister(CalendarCtrl) cvar = _calendar.cvar CalendarNameStr = cvar.CalendarNameStr