X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cee8636e94d49319b1c108d8b2d826e080e2e366..70f92ede85bdc11cc41338a78038b30b1ab43d4a:/interface/wx/xml/xml.h diff --git a/interface/wx/xml/xml.h b/interface/wx/xml/xml.h index 8605491dd1..3a7ef80fa4 100644 --- a/interface/wx/xml/xml.h +++ b/interface/wx/xml/xml.h @@ -434,6 +434,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 +592,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();