X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/35a4dab713ccc16c2414aa18d360aa40929fd60c..c17bcb844883451b564446bf7843e7b3f862fe48:/src/common/url.cpp?ds=inline diff --git a/src/common/url.cpp b/src/common/url.cpp index 9c012d1602..89b1f889cc 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -109,7 +109,7 @@ bool wxURL::ParseURL() void wxURL::CleanData() { - if (m_protoname != "proxy") + if (m_protoname != _T("proxy")) delete m_protocol; } @@ -239,7 +239,7 @@ wxInputStream *wxURL::GetInputStream(void) } m_error = wxURL_NOERR; - if (m_user != "") { + if (m_user != _T("")) { m_protocol->SetUser(m_user); m_protocol->SetPassword(m_password); } @@ -316,5 +316,10 @@ void wxURL::SetProxy(const wxString& url_proxy) m_path = url_proxy; } +wxString wxURL::ConvertToValidURI(const wxString& uri) +{ + return wxString(uri); +} + #endif // wxUSE_SOCKETS