1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: SWIG interface for wxPen
7 // Created: 7-July-1997
9 // Copyright: (c) 2003 by Total Control Software
10 // Licence: wxWindows license
11 /////////////////////////////////////////////////////////////////////////////
16 //---------------------------------------------------------------------------
20 "A brush is a drawing tool for filling in areas. It is used for painting the\n"
21 "background of rectangles, ellipses, etc. It has a colour and a style.");
23 class wxBrush : public wxGDIObject {
25 DocStr(wxBrush, "Constructs a brush from a colour object and style.");
26 wxBrush(const wxColour& colour, int style=wxSOLID);
30 virtual void SetColour(const wxColour& col);
31 virtual void SetStyle(int style);
32 virtual void SetStipple(const wxBitmap& stipple);
34 wxColour GetColour() const;
36 wxBitmap *GetStipple() const;
42 void MacSetTheme(short macThemeBrush);
45 %pythoncode { def __nonzero__(self): return self.Ok() }
48 //---------------------------------------------------------------------------