X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cebf2fec3d70dcb0de6e1d4a7887c0342f196fa4..b5b49e42939fd7ef098241733648b534f71b526c:/include/wx/cmndata.h?ds=sidebyside 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);