wx.VERTICAL_HATCH Vertical hatch.
=================== =============================
+:see: `wx.BrushFromBitmap`
");
+ DocCtorStrName(
+ wxBrush(const wxBitmap& stippleBitmap),
+ "Constructs a stippled brush using a bitmap.", "",
+ BrushFromBitmap);
+
~wxBrush();
have a wx.STIPPLE style, then the return value may be non-None but an
uninitialised bitmap (`wx.Bitmap.Ok` returns False).", "");
+
+ DocDeclStr(
+ bool , IsHatch() const,
+ "Is the current style a hatch type?", "");
+
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`");
+ %property(Style, GetStyle, SetStyle, doc="See `GetStyle` and `SetStyle`");
+
};
//---------------------------------------------------------------------------