Create(uri);
}
-wxURI::wxURI(const wxURI& uri) : m_hostType(wxURI_REGNAME), m_fields(0)
+wxURI::wxURI(const wxURI& uri) : wxObject(), m_hostType(wxURI_REGNAME), m_fields(0)
{
Assign(uri);
}
void wxURI::Clear()
{
m_scheme = m_user = m_server = m_port = m_path =
- m_query = m_fragment = wxT("");
+ m_query = m_fragment = wxEmptyString;
m_hostType = wxURI_REGNAME;
}
else
//relative uri with relative path reference
- m_scheme = wxT("");
+ m_scheme = wxEmptyString;
}
// else
//relative uri with _possible_ relative path reference
uricopy = ++uri;
}
else
- m_user = wxT("");
+ m_user = wxEmptyString;
return uricopy;
}
// ---------------------------------------------------------------------------
//
-// wxURL Compatability
+// wxURL Compatibility
//
// ---------------------------------------------------------------------------