From: Julian Smart Date: Mon, 10 Dec 2001 21:33:30 +0000 (+0000) Subject: Reversed crazy wxKEY_STRING/INTEGER thing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cbb26e3f6dcdc098b5aad953c90924bd0f707560 Reversed crazy wxKEY_STRING/INTEGER thing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); }