diff --git a/src/msw/webrequest_winhttp.cpp b/src/msw/webrequest_winhttp.cpp index 48e0d130b3..21796c977e 100644 --- a/src/msw/webrequest_winhttp.cpp +++ b/src/msw/webrequest_winhttp.cpp @@ -239,7 +239,7 @@ void wxWebRequestWinHTTP::Start() { // Parse the URL wxURI uri(m_url); - bool isSecure = uri.GetScheme().IsSameAs("HTTPS", false); + const bool isSecure = uri.GetScheme().CmpNoCase("HTTPS") == 0; int port; if ( !uri.HasPort() )