]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmndata.h
wxSizeEvent now carries the total size, not just the client size
[wxWidgets.git] / include / wx / cmndata.h
index 2c8c64b7c8ad4df5df9f1f63a09b23e519bf3b3a..008338a9449c8d9cb963ab3cee2aea20fcb62adf 100644 (file)
@@ -36,7 +36,8 @@ public:
     void SetChooseFull(bool flag) { chooseFull = flag; }
     bool GetChooseFull() const { return chooseFull; }
     void SetColour(const wxColour& colour) { dataColour = colour; }
-    wxColour &GetColour() { return dataColour; }
+    const wxColour& GetColour() const { return dataColour; }
+    wxColour& GetColour() { return dataColour; }
 
     // Array of 16 custom colours
     void SetCustomColour(int i, const wxColour& colour);