diff --git a/wxPython/src/_taskbar.i b/wxPython/src/_taskbar.i index 3b37db21b2..c32be7d5a7 100644 --- a/wxPython/src/_taskbar.i +++ b/wxPython/src/_taskbar.i @@ -65,6 +65,8 @@ public: #ifndef __WXMAC__ bool IsOk() const; + %pythoncode { def __nonzero__(self): return self.IsOk() } + bool IsIconInstalled() const; bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString);