X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/669e06d77ebb561f43a745a4b2b72e22ac19381d..46ae103b9f08fc4e447d16a6a92b03cf55ee3189:/wxPython/src/_app.i?ds=sidebyside diff --git a/wxPython/src/_app.i b/wxPython/src/_app.i index 5628f0242b..5aa20a5d55 100644 --- a/wxPython/src/_app.i +++ b/wxPython/src/_app.i @@ -48,8 +48,8 @@ class wxPyApp : public wxEvtHandler { public: %pythonAppend wxPyApp - "self._setCallbackInfo(self, PyApp) - self._setOORInfo(self)"; + "self._setCallbackInfo(self, PyApp, False) + self._setOORInfo(self, False)"; %typemap(out) wxPyApp*; // turn off this typemap DocStr(wxPyApp, @@ -67,7 +67,7 @@ public: %typemap(out) wxPyApp* { $result = wxPyMake_wxObject($1, $owner); } - void _setCallbackInfo(PyObject* self, PyObject* _class); + void _setCallbackInfo(PyObject* self, PyObject* _class, bool incref); DocDeclStr(