forgot to commit some XRC files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-09-03 23:07:23 +00:00
parent 4309759886
commit 93cd80d63c
2 changed files with 38 additions and 0 deletions

View File

@ -71,6 +71,25 @@ wxXmlNode::wxXmlNode(const wxXmlNode& node)
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;

View File

@ -71,6 +71,25 @@ wxXmlNode::wxXmlNode(const wxXmlNode& node)
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;