X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab9d0a8ca3d306898d92960ecfaefb8c1191b18a..eba99da4c0563e6508761272a1e1f1b791d0af6b:/include/wx/x11/brush.h diff --git a/include/wx/x11/brush.h b/include/wx/x11/brush.h index 37f49da497..58160f1fc3 100644 --- a/include/wx/x11/brush.h +++ b/include/wx/x11/brush.h @@ -30,7 +30,7 @@ class wxBitmap; // wxBrush //----------------------------------------------------------------------------- -class wxBrush: public wxGDIObject +class wxBrush: public wxBrushBase { public: wxBrush() { } @@ -47,13 +47,10 @@ public: bool operator == ( const wxBrush& brush ) const; bool operator != (const wxBrush& brush) const { return !(*this == brush); } - 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 );