]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
added wxTreeEvent::GetKeyEvent() to allow to retrieve the key event flags from EVT_TR...
[wxWidgets.git] / src / xrc / xmlres.cpp
index c5f7a8c8ed6fb771fcef1ca12d902ad66349c401..ef1e2f2761309e848237f3f6663dd6c66fe2b486 100644 (file)
@@ -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();
     }
 }