]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/pen.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / pen.h
index 379f560c445076ab462b4b6f1bca543f799e349f..36c2bd1f7a025b36faea0e119e82e43be10abff6 100644 (file)
@@ -77,7 +77,7 @@ public:
     virtual void SetJoin(wxPenJoin join) = 0;
     virtual void SetCap(wxPenCap cap) = 0;
 
-    virtual wxColour& GetColour() const = 0;
+    virtual wxColour GetColour() const = 0;
     virtual wxBitmap *GetStipple() const = 0;
     virtual wxPenStyle GetStyle() const = 0;
     virtual wxPenJoin GetJoin() const = 0;