X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cebf2fec3d70dcb0de6e1d4a7887c0342f196fa4..5a224901b8ede55e1db9980f0fcaf7d2cb49285f:/include/wx/cmndata.h 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);