X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/214c4fbea5875368cc21a082d20cb082cd38cb3c..5172800e29f9c4b3f4dfa9737f80114a61e55f1f:/wxPython/src/_taskbar.i diff --git a/wxPython/src/_taskbar.i b/wxPython/src/_taskbar.i index abdc2c6539..9ae6d12250 100644 --- a/wxPython/src/_taskbar.i +++ b/wxPython/src/_taskbar.i @@ -108,7 +108,7 @@ public: void _setCallbackInfo(PyObject* self, PyObject* _class, int incref); - %pythonAppend Destroy "args[0].thisown = 0"; + %pythonPrepend Destroy "args[0].this.own(False)"; %extend { void Destroy() { self->RemoveIcon();