]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_pycontrol.i
Docs for [GS]etDefaultPyEncoding
[wxWidgets.git] / wxPython / src / _pycontrol.i
index eb2a01b87fb38a0e84c1595e4f010d6c5d236f6a..e4e18dcd5850b4c54f21812a5057f398f796e7fb 100644 (file)
@@ -106,14 +106,14 @@ public:
     %pythonAppend wxPyControl         "self._setOORInfo(self); self._setCallbackInfo(self, PyControl)"
     %pythonAppend wxPyControl()       ""
 
-    wxPyControl(wxWindow* parent, const wxWindowID id,
+    wxPyControl(wxWindow* parent, const wxWindowID id=-1,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = 0,
                 const wxValidator& validator=wxDefaultValidator,
                 const wxString& name = wxPyControlNameStr);
 
-    %name(PrePyControl) wxPyControl();
+    %RenameCtor(PrePyControl,  wxPyControl());
     
     void _setCallbackInfo(PyObject* self, PyObject* _class);