// Modified by: VZ at 25.02.00: type safe hashes with WX_DECLARE_HASH()
// Created: 01/02/97
// RCS-ID: $Id$
-// Copyright: (c) Julian Smart and Markus Holzem
+// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
{
if ( keys->Item(n) == key )
{
- keys.RemoveAt(n);
+ keys->RemoveAt(n);
m_values[slot]->RemoveAt(n);
return TRUE;
}
{
wxNode *node = hash_table[position]->Find (value);
if (node)
- return node->Data ();
+ return node->GetData ();
else
return (wxObject *) NULL;
}
{
wxNode *node = hash_table[position]->Find (value);
if (node)
- return node->Data ();
+ return node->GetData ();
else
return (wxObject *) NULL;
}
else
{
wxNode *node = hash_table[position]->Find (k);
- return node ? node->Data () : (wxObject*)NULL;
+ return node ? node->GetData () : (wxObject*)NULL;
}
}
else
{
wxNode *node = hash_table[position]->Find (key);
- return node ? node->Data () : (wxObject*)NULL;
+ return node ? node->GetData () : (wxObject*)NULL;
}
}
wxNode *node = hash_table[position]->Find (k);
if (node)
{
- wxObject *data = node->Data ();
+ wxObject *data = node->GetData ();
delete node;
m_count--;
return data;
wxNode *node = hash_table[position]->Find (key);
if (node)
{
- wxObject *data = node->Data ();
+ wxObject *data = node->GetData ();
delete node;
m_count--;
return data;
wxNode *node = hash_table[position]->Find (value);
if (node)
{
- wxObject *data = node->Data ();
+ wxObject *data = node->GetData ();
delete node;
m_count--;
return data;
wxNode *node = hash_table[position]->Find (value);
if (node)
{
- wxObject *data = node->Data ();
+ wxObject *data = node->GetData ();
delete node;
m_count--;
return data;
{
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;
}
}