]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmndata.h
Fixed typo in my last commit (it did break socket detection code :-( ).
[wxWidgets.git] / include / wx / cmndata.h
index b85b01cb269d7c0bfa0fd00ee439a5e19a9e7a88..2c8c64b7c8ad4df5df9f1f63a09b23e519bf3b3a 100644 (file)
@@ -35,11 +35,11 @@ public:
 
     void SetChooseFull(bool flag) { chooseFull = flag; }
     bool GetChooseFull() const { return chooseFull; }
-    void SetColour(wxColour& colour) { dataColour = colour; }
+    void SetColour(const wxColour& colour) { dataColour = colour; }
     wxColour &GetColour() { return dataColour; }
 
     // Array of 16 custom colours
-    void SetCustomColour(int i, wxColour& colour);
+    void SetCustomColour(int i, const wxColour& colour);
     wxColour GetCustomColour(int i);
 
     void operator=(const wxColourData& data);