X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d49bdf343240004c78843ce05c593435ddb22eb5..6caa0f5cd18fe9fb39c207d5f31fa5633479a822:/wxPython/src/_evthandler.i diff --git a/wxPython/src/_evthandler.i b/wxPython/src/_evthandler.i index 3dd673a315..afff9bc445 100644 --- a/wxPython/src/_evthandler.i +++ b/wxPython/src/_evthandler.i @@ -73,7 +73,7 @@ public: } } - %pythonAppend _setOORInfo "args[0].thisown = 0"; + %pythonAppend _setOORInfo "args[0].this.own(False)"; %extend { void _setOORInfo(PyObject* _self, bool incref=true) { if (_self && _self != Py_None) {