]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/pen.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / mac / carbon / pen.h
index 13332a3077da0ce19b0ff6ea2d0854b6bd7437ad..3807aa523ea6781d59f947e01ba863110e962f24 100644 (file)
@@ -43,7 +43,7 @@ public:
     void SetJoin(wxPenJoin join)  ;
     void SetCap(wxPenCap cap)  ;
 
-    wxColour& GetColour() const ;
+    wxColour GetColour() const ;
     int GetWidth() const;
     wxPenStyle GetStyle() const;
     wxPenJoin GetJoin() const;