Split this out from other changes to keep things sane..
wxDeprecated KeyCode. wxDeprecated old wxList compat methods. Replaced a large number of them in the gtk build already, but there are still plenty more so feel free to help nuke them as you find them. s/^I/ / and s/TRUE/true/ etc. a couple of these too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -493,7 +493,7 @@ wxObject *wxHashTable::Get (long key, long value) const
|
||||
{
|
||||
wxNode *node = hash_table[position]->Find (value);
|
||||
if (node)
|
||||
return node->Data ();
|
||||
return node->GetData ();
|
||||
else
|
||||
return (wxObject *) NULL;
|
||||
}
|
||||
@@ -513,7 +513,7 @@ wxObject *wxHashTable::Get (long key, const wxChar *value) const
|
||||
{
|
||||
wxNode *node = hash_table[position]->Find (value);
|
||||
if (node)
|
||||
return node->Data ();
|
||||
return node->GetData ();
|
||||
else
|
||||
return (wxObject *) NULL;
|
||||
}
|
||||
@@ -532,7 +532,7 @@ wxObject *wxHashTable::Get (long key) const
|
||||
else
|
||||
{
|
||||
wxNode *node = hash_table[position]->Find (k);
|
||||
return node ? node->Data () : (wxObject*)NULL;
|
||||
return node ? node->GetData () : (wxObject*)NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -546,7 +546,7 @@ wxObject *wxHashTable::Get (const wxChar *key) const
|
||||
else
|
||||
{
|
||||
wxNode *node = hash_table[position]->Find (key);
|
||||
return node ? node->Data () : (wxObject*)NULL;
|
||||
return node ? node->GetData () : (wxObject*)NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -565,7 +565,7 @@ wxObject *wxHashTable::Delete (long key)
|
||||
wxNode *node = hash_table[position]->Find (k);
|
||||
if (node)
|
||||
{
|
||||
wxObject *data = node->Data ();
|
||||
wxObject *data = node->GetData ();
|
||||
delete node;
|
||||
m_count--;
|
||||
return data;
|
||||
@@ -587,7 +587,7 @@ wxObject *wxHashTable::Delete (const wxChar *key)
|
||||
wxNode *node = hash_table[position]->Find (key);
|
||||
if (node)
|
||||
{
|
||||
wxObject *data = node->Data ();
|
||||
wxObject *data = node->GetData ();
|
||||
delete node;
|
||||
m_count--;
|
||||
return data;
|
||||
@@ -612,7 +612,7 @@ wxObject *wxHashTable::Delete (long key, int value)
|
||||
wxNode *node = hash_table[position]->Find (value);
|
||||
if (node)
|
||||
{
|
||||
wxObject *data = node->Data ();
|
||||
wxObject *data = node->GetData ();
|
||||
delete node;
|
||||
m_count--;
|
||||
return data;
|
||||
@@ -634,7 +634,7 @@ wxObject *wxHashTable::Delete (long key, const wxChar *value)
|
||||
wxNode *node = hash_table[position]->Find (value);
|
||||
if (node)
|
||||
{
|
||||
wxObject *data = node->Data ();
|
||||
wxObject *data = node->GetData ();
|
||||
delete node;
|
||||
m_count--;
|
||||
return data;
|
||||
@@ -679,14 +679,14 @@ wxNode *wxHashTable::Next ()
|
||||
{
|
||||
if (hash_table[current_position])
|
||||
{
|
||||
current_node = hash_table[current_position]->First ();
|
||||
current_node = hash_table[current_position]->GetFirst ();
|
||||
found = current_node;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
current_node = current_node->Next ();
|
||||
current_node = current_node->GetNext ();
|
||||
found = current_node;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user