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