]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
fixed broken logic in ShowFullScreen() (some compiler warnings are helpful)
[wxWidgets.git] / 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
     {
-        (*m_map)[name] = new wxColour(colour);
+        (*m_map)[colName] = new wxColour(colour);
     }
 }