]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
Fix compilation error by #including imaglist.h
[wxWidgets.git] / src / common / ftp.cpp
index 417849ea00e5c878c65bfa4bb03ac09daf7c8e16..0a470ca93f1ba41d2f087c4a0362500e76c0b11a 100644 (file)
@@ -771,7 +771,7 @@ wxInputStream *wxFTP::GetInputStream(const wxString& path)
         return NULL;
     }
 
-    wxString tmp_str = wxT("RETR ") + wxURL::ConvertFromURI(path);
+    wxString tmp_str = wxT("RETR ") + wxURI::Unescape(path);
     if ( !CheckCommand(tmp_str, '1') )
         return NULL;