Added __nonzero__ for wxTraskBarIcon

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-10 02:04:21 +00:00
parent da457c1b49
commit e0269b2e2a

View File

@@ -65,6 +65,8 @@ public:
#ifndef __WXMAC__ #ifndef __WXMAC__
bool IsOk() const; bool IsOk() const;
%pythoncode { def __nonzero__(self): return self.IsOk() }
bool IsIconInstalled() const; bool IsIconInstalled() const;
bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString); bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString);