projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed crash in OnSize() handler
[wxWidgets.git]
/
src
/
xrc
/
xmlres.cpp
diff --git
a/src/xrc/xmlres.cpp
b/src/xrc/xmlres.cpp
index c5f7a8c8ed6fb771fcef1ca12d902ad66349c401..ef1e2f2761309e848237f3f6663dd6c66fe2b486 100644
(file)
--- a/
src/xrc/xmlres.cpp
+++ b/
src/xrc/xmlres.cpp
@@
-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();
}
}