]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/calendar.i
Patches from KevinO that work around issues where the widget isn't
[wxWidgets.git] / wxPython / src / calendar.i
index 3a91233610fa75aa6258a22471da7f9458f091ec..8f2f16602b99d3b74241a60001690b1d893d186d 100644 (file)
@@ -23,7 +23,8 @@
 //----------------------------------------------------------------------
 
 %import misc.i
-%pythoncode { wx = core }
+%pythoncode { wx = _core }
+%pythoncode { __docfilter__ = wx.__docfilter__ }
 
 %include _calendar_rename.i
 
@@ -200,8 +201,10 @@ public:
     %pythonAppend wxCalendarCtrl()    ""
 
     DocStr(wxCalendarCtrl, "Create and show a calendar control.");
+    RefDoc(wxCalendarCtrl, ""); // turn it off for the ctors
+    
     wxCalendarCtrl(wxWindow *parent,
-                   wxWindowID id,
+                   wxWindowID id=-1,
                    const wxDateTime& date = wxDefaultDateTime,
                    const wxPoint& pos = wxDefaultPosition,
                    const wxSize& size = wxDefaultSize,