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:
@@ -102,8 +102,9 @@ uninitialised bitmap (`wx.Bitmap.Ok` returns False).", "");
|
||||
|
||||
|
||||
DocDeclStr(
|
||||
bool , Ok(),
|
||||
bool , IsOk(),
|
||||
"Returns True if the brush is initialised and valid.", "");
|
||||
%pythoncode { Ok = IsOk }
|
||||
|
||||
|
||||
#ifdef __WXMAC__
|
||||
@@ -111,7 +112,7 @@ uninitialised bitmap (`wx.Bitmap.Ok` returns False).", "");
|
||||
void MacSetTheme(short macThemeBrush);
|
||||
#endif
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
%pythoncode { def __nonzero__(self): return self.IsOk() }
|
||||
|
||||
%property(Colour, GetColour, SetColour, doc="See `GetColour` and `SetColour`");
|
||||
%property(Stipple, GetStipple, SetStipple, doc="See `GetStipple` and `SetStipple`");
|
||||
|
||||
Reference in New Issue
Block a user