fixed my favorite bug (delete foo; call foo->Something())
and non-recursive destructors as an add-on :) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c556f19843
commit
d7b1d73c92
@ -245,14 +245,17 @@ static void ProcessPlatformProperty(wxXmlNode *node)
|
||||
}
|
||||
|
||||
if (isok)
|
||||
{
|
||||
ProcessPlatformProperty(c);
|
||||
c = c->GetNext();
|
||||
}
|
||||
else
|
||||
{
|
||||
node->RemoveChild(c);
|
||||
wxXmlNode *c2 = c->GetNext();
|
||||
delete c;
|
||||
c = c2;
|
||||
}
|
||||
|
||||
c = c->GetNext();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -245,14 +245,17 @@ static void ProcessPlatformProperty(wxXmlNode *node)
|
||||
}
|
||||
|
||||
if (isok)
|
||||
{
|
||||
ProcessPlatformProperty(c);
|
||||
c = c->GetNext();
|
||||
}
|
||||
else
|
||||
{
|
||||
node->RemoveChild(c);
|
||||
wxXmlNode *c2 = c->GetNext();
|
||||
delete c;
|
||||
c = c2;
|
||||
}
|
||||
|
||||
c = c->GetNext();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user