From: Vadim Zeitlin Date: Sun, 12 Dec 2004 11:21:15 +0000 (+0000) Subject: fixed bug with lower-case colours in wxColourDatabase::AddColour() (patch 1074865) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5767e836997b965b9d936f1d65244bb886c39025 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 --- diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index a2c7cb5a8c..6cbe1a5d9e 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -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); } }