Reversed crazy wxKEY_STRING/INTEGER thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0655d12d67
commit
cbb26e3f6d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user