]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
Changes corresponding to patch #841324 from Ian Brown:
[wxWidgets.git] / src / common / sckfile.cpp
index 5dbc6a0c12e0f711fc3ba8430e0dd263976b0243..c9f723a1454479823460cf11037795e21a05a740 100644 (file)
@@ -43,7 +43,7 @@ wxFileProto::~wxFileProto()
 
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
-  return new wxFileInputStream(path);
+  return new wxFileInputStream(wxURL::ConvertFromURI(path));
 }
 
 #endif // wxUSE_STREAMS && wxUSE_PROTOCOL_FILE