X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..45eb5249574b0f1f50db5e6a7eb5bba43fd99cb9:/wxPython/src/msw/calendar.py diff --git a/wxPython/src/msw/calendar.py b/wxPython/src/msw/calendar.py index 68f6bf2c7b..5f722a0675 100644 --- a/wxPython/src/msw/calendar.py +++ b/wxPython/src/msw/calendar.py @@ -134,6 +134,9 @@ class wxCalendarCtrlPtr(wxControlPtr): def __init__(self,this): self.this = this self.thisown = 0 + def Create(self, *_args, **_kwargs): + val = apply(calendarc.wxCalendarCtrl_Create,(self,) + _args, _kwargs) + return val def SetDate(self, *_args, **_kwargs): val = apply(calendarc.wxCalendarCtrl_SetDate,(self,) + _args, _kwargs) return val @@ -208,6 +211,11 @@ class wxCalendarCtrl(wxCalendarCtrlPtr): +def wxPreCalendarCtrl(*_args,**_kwargs): + val = wxCalendarCtrlPtr(apply(calendarc.new_wxPreCalendarCtrl,_args,_kwargs)) + val.thisown = 1 + return val +