]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/brush.h
wxUSE_CRASHREPORT and wxUSE_STACKWALKER can't be used if wxUSE_ON_FATAL_EXCEPTION...
[wxWidgets.git] / include / wx / palmos / brush.h
index a5dc6d2c521598429a3357b18b1ac2c2b1f33dfc..bd7d5a50b80bbe81c90ab8315bb14dea9f50c14a 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLEXPORT wxBrush;
 // wxBrush
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBrush : public wxGDIObject
+class WXDLLEXPORT wxBrush : public wxBrushBase
 {
 public:
     wxBrush();
@@ -45,12 +45,9 @@ public:
     bool operator!=(const wxBrush& brush) const { return !(*this == brush); }
 
     wxColour GetColour() const;
-    int GetStyle() const;
+    virtual int GetStyle() const;
     wxBitmap *GetStipple() const;
 
-    bool IsHatch() const
-        { return (GetStyle()>=wxBDIAGONAL_HATCH) && (GetStyle()<=wxVERTICAL_HATCH); }
-
     bool Ok() const { return m_refData != NULL; }
 
     // return the HBRUSH for this brush