diff --git a/include/wx/xml/xml.h b/include/wx/xml/xml.h index a596ae92e4..a816ce22ff 100644 --- a/include/wx/xml/xml.h +++ b/include/wx/xml/xml.h @@ -241,10 +241,12 @@ class WXDLLIMPEXP_XML wxXmlDoctype { public: explicit - wxXmlDoctype(const wxString& name = wxString(), - const wxString& sysid = wxString(), - const wxString& pubid = wxString()) - : m_rootName(name), m_systemId(sysid), m_publicId(pubid) + wxXmlDoctype(const wxString& rootName = wxString(), + const wxString& systemId = wxString(), + const wxString& publicId = wxString()) + : m_rootName(rootName), + m_systemId(systemId), + m_publicId(publicId) {} // Default copy ctor and assignment operators are ok. diff --git a/interface/wx/xml/xml.h b/interface/wx/xml/xml.h index 0eaad72423..4c58080b75 100644 --- a/interface/wx/xml/xml.h +++ b/interface/wx/xml/xml.h @@ -494,16 +494,16 @@ public: /** Creates and possible initializes the DOCTYPE. - @param name + @param rootName The root name. - @param sysid + @param systemId The system identifier. - @param pubid + @param publicId The public identifier. */ - wxXmlDoctype(const wxString& name = wxString(), - const wxString& sysid = wxString(), - const wxString& pubid = wxString()); + wxXmlDoctype(const wxString& rootName = wxString(), + const wxString& systemId = wxString(), + const wxString& publicId = wxString()); /** Removes all the DOCTYPE values.