X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..dad6a47e6d425673510b53e9a01114cdea2a5f2c:/src/common/sckfile.cpp diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index 5dbc6a0c12..c9f723a145 100644 --- a/src/common/sckfile.cpp +++ b/src/common/sckfile.cpp @@ -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