class wxTaskBarIcon : public wxEvtHandler
{
public:
- wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
+ wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
};
{
public:
wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
- { PyErr_SetNone(PyExc_NotImplementedError); }
+ { wxPyRaiseNotImplemented(); }
virtual wxEvent* Clone() const { return NULL; }
};
#ifndef __WXMAC__
bool IsOk() const;
+ %pythoncode { def __nonzero__(self): return self.IsOk() }
+
bool IsIconInstalled() const;
bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString);