X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cebf2fec3d70dcb0de6e1d4a7887c0342f196fa4..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/include/wx/cmndata.h?ds=inline diff --git a/include/wx/cmndata.h b/include/wx/cmndata.h index 2c8c64b7c8..008338a944 100644 --- a/include/wx/cmndata.h +++ b/include/wx/cmndata.h @@ -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);