X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a10485f79808b28093e87a2b4cc3d930fbc7b53..56a52e909411904736e41258c39f306d218d84d5:/wxPython/src/_pycontrol.i?ds=sidebyside 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,