X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1b8c7ba607a15a2ff8a04448138df9ffff7df6c5..203bfdca0c885d6ac295e4ffea1c95d80fe75b85:/wxPython/src/_xml.i diff --git a/wxPython/src/_xml.i b/wxPython/src/_xml.i index a7d08fcda8..a6320ee955 100644 --- a/wxPython/src/_xml.i +++ b/wxPython/src/_xml.i @@ -89,7 +89,7 @@ public: const wxString& content = wxPyEmptyString)); void AddChild(wxXmlNode *child); - void InsertChild(wxXmlNode *child, wxXmlNode *before_node); + bool InsertChild(wxXmlNode *child, wxXmlNode *before_node); bool RemoveChild(wxXmlNode *child); void AddProperty(wxXmlProperty *prop); %Rename(AddPropertyName, void, AddProperty(const wxString& name, const wxString& value)); @@ -160,6 +160,7 @@ public: wxString GetFileEncoding() const; // Write-access methods: + wxXmlNode *DetachRoot(); void SetRoot(wxXmlNode *node); void SetVersion(const wxString& version); void SetFileEncoding(const wxString& encoding);