X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e54c96f187f46c06bd36be8cd52b35c19884aa2b..a7be99c8034b3a1fc9b2caf23cdae09eb738dff9:/interface/xml/xml.h diff --git a/interface/xml/xml.h b/interface/xml/xml.h index 56305fd749..c584e3e5ea 100644 --- a/interface/xml/xml.h +++ b/interface/xml/xml.h @@ -77,7 +77,7 @@ public: */ bool GetAttribute(const wxString& attrName, wxString* value) const; const wxString GetAttribute(const wxString& attrName, - const wxString& defaultVal) const; + const wxString& defaultVal = wxEmptyString) const; //@} /** @@ -132,9 +132,9 @@ public: This function is very useful since the XML snippet @c "tagnametagcontent/tagname" is represented by expat with the following tag tree: - + or eventually: - + An empty string is returned if the node has no children of type @c wxXML_TEXT_NODE or @c wxXML_CDATA_SECTION_NODE, or if the content of the first child of such types is empty. */