reverted last change (don't create new colour in FindColour())

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-10-22 21:49:34 +00:00
parent e175603394
commit bd0ee1b06f

View File

@@ -336,7 +336,7 @@ wxColour *wxColourDatabase::FindColour(const wxString& colour)
const wxChar *key = node->GetKeyString();
if ( colName == key || colName2 == key )
{
return new wxColour(*((wxColour *)node->Data()));
return (wxColour *)node->Data();
}
node = node->Next();