]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed bug with lower-case colours in wxColourDatabase::AddColour() (patch 1074865)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Dec 2004 11:21:15 +0000 (11:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Dec 2004 11:21:15 +0000 (11:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/gdicmn.cpp

index a2c7cb5a8c74f10dac92f48cceaefdbc99fab593..6cbe1a5d9e6b0e2313f1f74aa233c805588ba7b8 100644 (file)
@@ -388,7 +388,7 @@ void wxColourDatabase::AddColour(const wxString& name, const wxColour& colour)
     }
     else // new colour
     {
     }
     else // new colour
     {
-        (*m_map)[name] = new wxColour(colour);
+        (*m_map)[colName] = new wxColour(colour);
     }
 }
 
     }
 }