]> git.saurik.com Git - wxWidgets.git/commitdiff
applied patch 430961 (fix for wxHashTable::Put(key, value, object)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Jun 2001 11:37:56 +0000 (11:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Jun 2001 11:37:56 +0000 (11:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/hash.cpp

index d8079dce9eef6fc20e662e06301ff2e5d6c388bc..900219c6d1197056c7c3ef23503e024c61b72b9e 100644 (file)
@@ -395,7 +395,7 @@ void wxHashTable::Put (long key, long 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);
   }