]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/brush.h
wxURI/wxURL links in changes list.
[wxWidgets.git] / include / wx / x11 / brush.h
index 37f49da49717edaf685a69d187f0ef9b9bbd62aa..58160f1fc3cb37b69c8b152a18a4ccaa18b7bd76 100644 (file)
@@ -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 );