- wxXmlNode *DetachRoot() { wxXmlNode *old=m_root; m_root=NULL; return old; }
- void SetRoot(wxXmlNode *node) { wxDELETE(m_root); m_root = node; }
+ wxXmlNode *DetachDocumentNode() { wxXmlNode *old=m_docNode; m_docNode=NULL; return old; }
+ void SetDocumentNode(wxXmlNode *node) { wxDELETE(m_docNode); m_docNode = node; }
+ wxXmlNode *DetachRoot();
+ void SetRoot(wxXmlNode *node);