X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab9d0a8ca3d306898d92960ecfaefb8c1191b18a..8c9f8f91cd62335261ee29762747218f28d129de:/include/wx/mgl/brush.h diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index fbfdd8df2a..7f7ab1a239 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -32,7 +32,7 @@ class WXDLLEXPORT wxBrush; // wxBrush //----------------------------------------------------------------------------- -class WXDLLEXPORT wxBrush: public wxGDIObject +class WXDLLEXPORT wxBrush: public wxBrushBase { public: wxBrush() {} @@ -45,13 +45,10 @@ public: bool operator != (const wxBrush& brush) const; bool Ok() const; - int GetStyle() const; + virtual int GetStyle() const; wxColour &GetColour() const; wxBitmap *GetStipple() const; - bool IsHatch() const - { return (GetStyle()>=wxBDIAGONAL_HATCH) && (GetStyle()<=wxVERTICAL_HATCH); } - void SetColour(const wxColour& col); void SetColour(unsigned char r, unsigned char g, unsigned char b); void SetStyle(int style);