]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/urlmsw.cpp
signed/unsigned comparison warning fixed
[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;
     }