X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19230604c4a41c9a058e22a1719f4919c7f2dd37..4aaef122cbbd5bbe0e70b824e320458e2329dd13:/src/common/hash.cpp diff --git a/src/common/hash.cpp b/src/common/hash.cpp index 2909e48183..e8c47429f2 100644 --- a/src/common/hash.cpp +++ b/src/common/hash.cpp @@ -395,7 +395,7 @@ void wxHashTable::Put (long key, long value, wxObject * object) if (!hash_table[position]) { - hash_table[position] = new wxList (wxKEY_STRING); + hash_table[position] = new wxList (wxKEY_INTEGER); if (m_deleteContents) hash_table[position]->DeleteContents(TRUE); } @@ -413,7 +413,7 @@ void wxHashTable::Put (long key, const wxChar *value, wxObject * object) if (!hash_table[position]) { - hash_table[position] = new wxList (wxKEY_INTEGER); + hash_table[position] = new wxList (wxKEY_STRING); if (m_deleteContents) hash_table[position]->DeleteContents(TRUE); }