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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user