X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19230604c4a41c9a058e22a1719f4919c7f2dd37..a28ae4096bb21302ce2ad59ca846ce590f8488bf:/src/common/hash.cpp?ds=sidebyside 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); }