Do return the protocol part from GetLocaltion() for local wxFSFiles.

wxLocalFSHandler created wxFSFile without the protocol information which means
that calling GetLocaltion() on this file later doesn't return it, contrary to
the documentation.

Do include the protocol to fix this.

Closes #14638.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-10-09 21:28:33 +00:00
parent 319faba717
commit 4d4e7a8a73

View File

@@ -262,7 +262,7 @@ wxFSFile* wxLocalFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString&
}
return new wxFSFile(is,
right,
location,
wxEmptyString,
GetAnchor(location)
#if wxUSE_DATETIME