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
This commit is contained in:
Václav Slavík
2003-10-01 11:47:30 +00:00
parent bd85a2f331
commit 060dc36526

View 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