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 //---------------------------------------------------------------------------
19 class wxBrush : public wxGDIObject {
21 wxBrush(const wxColour& colour, int style=wxSOLID);
24 virtual void SetColour(const wxColour& col);
25 virtual void SetStyle(int style);
26 virtual void SetStipple(const wxBitmap& stipple);
28 wxColour GetColour() const;
30 wxBitmap *GetStipple() const;
36 void SetMacTheme(short macThemeBrush);
39 %pythoncode { def __nonzero__(self): return self.Ok() }
42 //---------------------------------------------------------------------------