]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/brush.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / dfb / brush.h
index 0d0a46c7a5fbf37df5c1045e56a33f0bfeb97791..c2360bef88a6a8d05cf577e7695d58b2a1101d10 100644 (file)
@@ -41,8 +41,8 @@ public:
     bool operator==(const wxBrush& brush) const;
     bool operator!=(const wxBrush& brush) const { return !(*this == brush); }
 
     bool operator==(const wxBrush& brush) const;
     bool operator!=(const wxBrush& brush) const { return !(*this == brush); }
 
-    virtual wxBrushStyle GetStyle() const;
-    wxColour& GetColour() const;
+    wxBrushStyle GetStyle() const;
+    wxColour GetColour() const;
     wxBitmap *GetStipple() const;
 
     void SetColour(const wxColour& col);
     wxBitmap *GetStipple() const;
 
     void SetColour(const wxColour& col);