X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3603a8ffbde56d1f6a2f38991b97313cff5076ce..8f5e92dbe5b8adca2af32da6d43165b1c78dacfd:/src/common/cmndata.cpp diff --git a/src/common/cmndata.cpp b/src/common/cmndata.cpp index b0b0727f8f..eaf2321f5e 100644 --- a/src/common/cmndata.cpp +++ b/src/common/cmndata.cpp @@ -129,7 +129,7 @@ wxColourData::~wxColourData() { } -void wxColourData::SetCustomColour(int i, wxColour& colour) +void wxColourData::SetCustomColour(int i, const wxColour& colour) { if (i > 15 || i < 0) return;