Patch #952359 from ABX: contrib updates after wxHashTable and

other recent changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2004-05-15 17:38:29 +00:00
parent 47ca35dd35
commit 99940d1bab
5 changed files with 7 additions and 6 deletions

View File

@@ -215,7 +215,7 @@ bool wxResourceTable::DeleteResource(const wxString& name)
// See if any resource has this as its child; if so, delete from
// parent's child list.
BeginFind();
wxNode *node = Next();
wxHashTable::Node *node = Next();
while (node != NULL)
{
wxItemResource *parent = (wxItemResource *)node->GetData();
@@ -309,10 +309,10 @@ bool wxResourceTable::SaveResource(const wxString& WXUNUSED(filename))
void wxResourceTable::ClearTable()
{
BeginFind();
wxNode *node = Next();
wxHashTable::Node *node = Next();
while (node)
{
wxNode *next = Next();
wxHashTable::Node *next = Next();
wxItemResource *item = (wxItemResource *)node->GetData();
delete item;
delete node;