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:
Vadim Zeitlin 2004-12-12 11:21:15 +00:00
parent 14b4c0ff12
commit 5767e83699

View File

@ -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);
}
}