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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user