Add IsOk's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,9 +33,10 @@ public:
|
||||
"GetRGB(self, int pixel) -> (R,G,B)");
|
||||
|
||||
int GetColoursCount() const;
|
||||
bool Ok();
|
||||
bool IsOk();
|
||||
%pythoncode { Ok = IsOk }
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
%pythoncode { def __nonzero__(self): return self.IsOk() }
|
||||
|
||||
%property(ColoursCount, GetColoursCount, doc="See `GetColoursCount`");
|
||||
};
|
||||
|
Reference in New Issue
Block a user