X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cee8636e94d49319b1c108d8b2d826e080e2e366..9e9574fe45b176ee74bba8fad7574cf9906145d1:/interface/wx/xml/xml.h diff --git a/interface/wx/xml/xml.h b/interface/wx/xml/xml.h index 8605491dd1..16d17c9ccf 100644 --- a/interface/wx/xml/xml.h +++ b/interface/wx/xml/xml.h @@ -2,7 +2,6 @@ // Name: xml/xml.h // Purpose: interface of wxXmlNode, wxXmlAttribute, wxXmlDocument // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -434,6 +433,17 @@ public: }; +//* special indentation value for wxXmlDocument::Save +#define wxXML_NO_INDENTATION (-1) + +//* flags for wxXmlDocument::Load +enum wxXmlDocumentLoadFlag +{ + wxXMLDOC_NONE, + wxXMLDOC_KEEP_WHITESPACE_NODES +}; + + /** @class wxXmlDocument @@ -581,7 +591,7 @@ public: any prologue nodes, but IsOk() will return @false since the root entity will be missing. - Note that the caller is reponsible for deleting the returned node in order + Note that the caller is responsible for deleting the returned node in order to avoid memory leaks. */ wxXmlNode* DetachRoot();