]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
added wxString ctor from std::string (inside #ifdef wxUSE_STD_STRING); removed pragma...
[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 {