X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4617be085fb55acce74f4d4687b098918dc9d107..e17b6377be593ce71d722beb3cdcffb67baccf00:/wxPython/src/_taskbar.i diff --git a/wxPython/src/_taskbar.i b/wxPython/src/_taskbar.i index 1a5ea7b228..abdc2c6539 100644 --- a/wxPython/src/_taskbar.i +++ b/wxPython/src/_taskbar.i @@ -104,9 +104,11 @@ public: %pythonAppend wxPyTaskBarIcon "self._setCallbackInfo(self, TaskBarIcon, 0)" wxPyTaskBarIcon(); + ~wxPyTaskBarIcon(); void _setCallbackInfo(PyObject* self, PyObject* _class, int incref); + %pythonAppend Destroy "args[0].thisown = 0"; %extend { void Destroy() { self->RemoveIcon();