]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xml.cpp
fixed memory leak in Accept()
[wxWidgets.git] / contrib / src / xml / xml.cpp
index 284b870acb232f61da13e70eb52aa6453dbfaab5..0ed177189aa49c06abb2b996399cf515aec98b38 100644 (file)
@@ -168,7 +168,7 @@ void wxXmlNode::AddChild(wxXmlNode *child)
 
 void wxXmlNode::InsertChild(wxXmlNode *child, wxXmlNode *before_node)
 {
 
 void wxXmlNode::InsertChild(wxXmlNode *child, wxXmlNode *before_node)
 {
-    wxASSERT_MSG(before_node->GetParent() == this, _T("wxXmlNode::InsertChild - the node has incorrect parent"));
+    wxASSERT_MSG(before_node->GetParent() == this, wxT("wxXmlNode::InsertChild - the node has incorrect parent"));
 
     if (m_Children == before_node)
        m_Children = child;
 
     if (m_Children == before_node)
        m_Children = child;
@@ -406,6 +406,7 @@ void wxXmlDocument::CleanUpHandlers()
 void wxXmlDocument::InitStandardHandlers()
 {
     AddHandler(new wxXmlIOHandlerBin);
 void wxXmlDocument::InitStandardHandlers()
 {
     AddHandler(new wxXmlIOHandlerBin);
+    AddHandler(new wxXmlIOHandlerBinZ);
     AddHandler(new wxXmlIOHandlerLibxml);
 }
 
     AddHandler(new wxXmlIOHandlerLibxml);
 }