Some fixes for gcc compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-06-13 12:20:33 +00:00
parent 7c5ece9e3c
commit f8105809ef
21 changed files with 46 additions and 26 deletions

View File

@@ -405,13 +405,13 @@ bool wxIconTable::AddInfo(const wxString& name, const wxIcon& icon, int state, b
wxIconInfo* wxIconTable::FindInfo(const wxString& name) const
{
wxNode* node = First();
wxNode* node = GetFirst();
while (node)
{
wxIconInfo* info = (wxIconInfo*) node->Data();
wxIconInfo* info = (wxIconInfo*) node->GetData();
if (info->GetName() == name)
return info;
node = node->Next();
node = node->GetNext();
}
return NULL;
}
@@ -474,4 +474,4 @@ wxString ctEscapeHTMLCharacters(const wxString& str)
s += c;
}
return s;
}
}