fixed bug with lower-case colours in wxColourDatabase::AddColour() (patch 1074865)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
14b4c0ff12
commit
5767e83699
@ -388,7 +388,7 @@ void wxColourDatabase::AddColour(const wxString& name, const wxColour& colour)
|
||||
}
|
||||
else // new colour
|
||||
{
|
||||
(*m_map)[name] = new wxColour(colour);
|
||||
(*m_map)[colName] = new wxColour(colour);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user