X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a10485f79808b28093e87a2b4cc3d930fbc7b53..05e00ac5ef410707da86d98786cbb268100a7337:/wxPython/src/_pycontrol.i diff --git a/wxPython/src/_pycontrol.i b/wxPython/src/_pycontrol.i index 205dab0e90..dc1e8047b9 100644 --- a/wxPython/src/_pycontrol.i +++ b/wxPython/src/_pycontrol.i @@ -99,13 +99,14 @@ IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes); %} // And now the one for SWIG to see +MustHaveApp(wxPyControl); class wxPyControl : public wxControl { 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,