X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b5a79cf542413329210bda962798a269c2091dd..e7e9d1b87f7fafedb7d7edc9be941b80f0059a01:/wxPython/src/_taskbar.i diff --git a/wxPython/src/_taskbar.i b/wxPython/src/_taskbar.i index 9ae6d12250..f0f110698f 100644 --- a/wxPython/src/_taskbar.i +++ b/wxPython/src/_taskbar.i @@ -101,12 +101,12 @@ MustHaveApp(wxPyTaskBarIcon); class wxPyTaskBarIcon : public wxEvtHandler { public: - %pythonAppend wxPyTaskBarIcon "self._setCallbackInfo(self, TaskBarIcon, 0)" + %pythonAppend wxPyTaskBarIcon setCallbackInfo(TaskBarIcon) wxPyTaskBarIcon(); ~wxPyTaskBarIcon(); - void _setCallbackInfo(PyObject* self, PyObject* _class, int incref); + void _setCallbackInfo(PyObject* self, PyObject* _class, int incref=0); %pythonPrepend Destroy "args[0].this.own(False)"; %extend {