]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/calendar.py
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / wxPython / src / msw / calendar.py
index 68f6bf2c7be09ca2f965549871d70258e94c3598..5f722a0675d3a52ab5ed146a1c2c19ec7d75ed28 100644 (file)
@@ -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
+