From 060dc36526227c45460bf79cf977c0f14cae001a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 1 Oct 2003 11:47:30 +0000 Subject: [PATCH] fixed file: protocol for filenames with space (patch #815772) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sckfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/sckfile.cpp b/src/common/sckfile.cpp index 11134b8373..87bdfd78ea 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