]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
another try at mingw32 compilation fix
[wxWidgets.git] / src / common / sckfile.cpp
index a5c148b90c39a40f9d78ebc4d9ea1f908552b92f..483f4eb7c872535cd7eeed85b042f49a90f34340 100644 (file)
@@ -43,7 +43,7 @@ wxFileProto::~wxFileProto()
 
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
-  wxFileInputStream* retval = new wxFileInputStream(wxURL::ConvertFromURI(path));
+  wxFileInputStream* retval = new wxFileInputStream(wxURI::Unescape(path));
   if (retval->Ok()) {
     return retval;
   } else {