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:
@@ -395,7 +395,7 @@ void wxHashTable::Put (long key, long value, wxObject * object)
|
|||||||
|
|
||||||
if (!hash_table[position])
|
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);
|
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])
|
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);
|
if (m_deleteContents) hash_table[position]->DeleteContents(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user