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);
- %pythonAppend Destroy "args[0].thisown = 0";
+ %pythonPrepend Destroy "args[0].this.own(False)";
%extend {
void Destroy() {
self->RemoveIcon();