X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..9176f38f730c3415ac7a911c2f85cdea7eca4478:/wxPython/src/_brush.i?ds=sidebyside diff --git a/wxPython/src/_brush.i b/wxPython/src/_brush.i index 8dc2e0b422..c3e27280d5 100644 --- a/wxPython/src/_brush.i +++ b/wxPython/src/_brush.i @@ -16,11 +16,17 @@ //--------------------------------------------------------------------------- %newgroup +DocStr(wxBrush, + "A brush is a drawing tool for filling in areas. It is used for painting the\n" + "background of rectangles, ellipses, etc. It has a colour and a style."); + class wxBrush : public wxGDIObject { public: + DocStr(wxBrush, "Constructs a brush from a colour object and style."); wxBrush(const wxColour& colour, int style=wxSOLID); ~wxBrush(); - + + virtual void SetColour(const wxColour& col); virtual void SetStyle(int style); virtual void SetStipple(const wxBitmap& stipple); @@ -32,8 +38,8 @@ public: bool Ok(); #ifdef __WXMAC__ - short GetMacTheme(); - void SetMacTheme(short macThemeBrush); + short MacGetTheme(); + void MacSetTheme(short macThemeBrush); #endif %pythoncode { def __nonzero__(self): return self.Ok() }