]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xml.cpp
1) some cleanup in wxHtmlWindow, moved private structures out of headers
[wxWidgets.git] / contrib / src / xml / xml.cpp
index 284b870acb232f61da13e70eb52aa6453dbfaab5..c7fc2f474657af20616a7d26595e389e1b96f754 100644 (file)
@@ -168,7 +168,7 @@ void wxXmlNode::AddChild(wxXmlNode *child)
 
 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;
@@ -275,6 +275,8 @@ bool wxXmlNode::DeleteProperty(const wxString& name)
 
 
 
+wxList *wxXmlDocument::sm_Handlers = NULL;
+
 
 
 wxXmlDocument::wxXmlDocument(const wxString& filename, wxXmlIOType io_type)
@@ -383,8 +385,6 @@ bool wxXmlDocument::Save(wxOutputStream& stream, wxXmlIOType io_type) const
 
 
 
-wxList *wxXmlDocument::sm_Handlers = NULL;
-
 void wxXmlDocument::AddHandler(wxXmlIOHandler *handler)
 {
     if (sm_Handlers == NULL)
@@ -406,6 +406,7 @@ void wxXmlDocument::CleanUpHandlers()
 void wxXmlDocument::InitStandardHandlers()
 {
     AddHandler(new wxXmlIOHandlerBin);
+    AddHandler(new wxXmlIOHandlerBinZ);
     AddHandler(new wxXmlIOHandlerLibxml);
 }