]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/hash.cpp
added test for writing empty value to the config
[wxWidgets.git] / 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);
   }