]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/urlmsw.cpp
Updated to Scintilla 1.67
[wxWidgets.git] / src / msw / urlmsw.cpp
index 6df72c6583538924aa69fceadb504a49ad4dee26..79b0ae8919fc7270c701e10f75329c56d57f4528 100644 (file)
@@ -199,11 +199,11 @@ wxURLNativeImp *wxURL::CreateNativeImpObject()
 wxInputStream *wxWinINetURL::GetInputStream(wxURL *owner)
 {
     DWORD service;
-    if ( owner->GetProtocolName() == wxT("http") )
+    if ( owner->GetScheme() == wxT("http") )
     {
         service = INTERNET_SERVICE_HTTP;
     }
-    else if ( owner->GetProtocolName() == wxT("ftp") )
+    else if ( owner->GetScheme() == wxT("ftp") )
     {
         service = INTERNET_SERVICE_FTP;
     }