]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_pycontrol.i
update from herbert breunung
[wxWidgets.git] / wxPython / src / _pycontrol.i
index eb2a01b87fb38a0e84c1595e4f010d6c5d236f6a..dc1e8047b9ec5c2753d270774f79aba88af19125 100644 (file)
@@ -106,7 +106,7 @@ public:
     %pythonAppend wxPyControl         "self._setOORInfo(self); self._setCallbackInfo(self, PyControl)"
     %pythonAppend wxPyControl()       ""
 
     %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 wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = 0,