DocDeclStr(
- bool , Ok(),
+ bool , IsOk(),
"Returns True if the brush is initialised and valid.", "");
+ %pythoncode { Ok = IsOk }
#ifdef __WXMAC__
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`");