:see: `wx.BrushList`, `wx.DC`, `wx.DC.SetBrush`
");
+MustHaveApp(wxBrush);
+
class wxBrush : public wxGDIObject {
public:
DocCtorStr(
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(),
#endif
%pythoncode { def __nonzero__(self): return self.Ok() }
+
+ %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`");
+
};
//---------------------------------------------------------------------------