Applied patch [ 817317 ] fixes for errors and warnings reported by MinGW for utils

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-12-11 09:01:25 +00:00
parent b1755cdb31
commit ddc4f3b528
12 changed files with 160 additions and 148 deletions

View File

@@ -457,19 +457,19 @@ bool MyApp::OnInit()
#ifndef NO_GUI
int MyApp::OnExit()
{
wxNode *node = CustomMacroList.First();
wxNode *node = CustomMacroList.GetFirst();
while (node)
{
CustomMacro *macro = (CustomMacro *)node->Data();
CustomMacro *macro = (CustomMacro *)node->GetData();
delete macro;
delete node;
node = CustomMacroList.First();
node = CustomMacroList.GetFirst();
}
MacroDefs.BeginFind();
node = MacroDefs.Next();
while (node)
{
TexMacroDef* def = (TexMacroDef*) node->Data();
TexMacroDef* def = (TexMacroDef*) node->GetData();
delete def;
node = MacroDefs.Next();
}