X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..16d38102e8ad5534d185cc532b9aa8077a75e0a4:/wxPython/src/msw/calendar.py?ds=inline 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 +