git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11551
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+wxXmlNode::~wxXmlNode()
+{
+ wxXmlNode *c, *c2;
+ for (c = m_children; c; c = c2)
+ {
+ c2 = c->m_next;
+ delete c;
+ }
+
+ wxXmlProperty *p, *p2;
+ for (p = m_properties; p; p = p2)
+ {
+ p2 = p->GetNext();
+ delete p;
+ }
+}
+
+
+
wxXmlNode& wxXmlNode::operator=(const wxXmlNode& node)
{
delete m_properties;
+wxXmlNode::~wxXmlNode()
+{
+ wxXmlNode *c, *c2;
+ for (c = m_children; c; c = c2)
+ {
+ c2 = c->m_next;
+ delete c;
+ }
+
+ wxXmlProperty *p, *p2;
+ for (p = m_properties; p; p = p2)
+ {
+ p2 = p->GetNext();
+ delete p;
+ }
+}
+
+
+
wxXmlNode& wxXmlNode::operator=(const wxXmlNode& node)
{
delete m_properties;