X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc0cea5e0e044f13b2168587242a10022c2ac7e9..878c265b94fe88dffe63e3b057c5135d0fffef79:/src/common/cmndata.cpp diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index 3c04d1d0b9..8c1309a9df 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -92,7 +92,7 @@ void wxColourData::SetCustomColour(int i, const wxColour& colour) m_custColours[i] = colour; } -wxColour wxColourData::GetCustomColour(int i) +wxColour wxColourData::GetCustomColour(int i) const { wxCHECK_MSG( i >= 0 && i < NUM_CUSTOM, wxColour(0,0,0), _T("custom colour index out of range") );