X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4617be085fb55acce74f4d4687b098918dc9d107..5f2502393e042e6e2c871ff94b7ccaf7a78b264d:/wxPython/src/_taskbar.i?ds=inline diff --git a/wxPython/src/_taskbar.i b/wxPython/src/_taskbar.i index 1a5ea7b228..9ae6d12250 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); + %pythonPrepend Destroy "args[0].this.own(False)"; %extend { void Destroy() { self->RemoveIcon();