take const reference (thanks to Alberto Barbati)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user