X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e26d6b78ce9f502f8fa7a432d2fc4cee734e826..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/src/xml/xml.cpp?ds=sidebyside diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index d8fe265936..a68f828b40 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -252,6 +252,21 @@ bool wxXmlNode::RemoveChild(wxXmlNode *child) } } +void wxXmlNode::AddAttribute(const wxString& name, const wxString& value) +{ + AddProperty(name, value); +} + +void wxXmlNode::AddAttribute(wxXmlAttribute *attr) +{ + AddProperty(attr); +} + +bool wxXmlNode::DeleteAttribute(const wxString& name) +{ + return DeleteProperty(name); +} + void wxXmlNode::AddProperty(const wxString& name, const wxString& value) { AddProperty(new wxXmlAttribute(name, value, NULL));