Let wxFileSystem use wxFFileInputstream and not
wxFileInoutStrea as that is broken on Macs.m git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -178,7 +178,7 @@ wxFSFile* wxLocalFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString&
|
|||||||
if (!wxFileExists(fn.GetFullPath()))
|
if (!wxFileExists(fn.GetFullPath()))
|
||||||
return (wxFSFile*) NULL;
|
return (wxFSFile*) NULL;
|
||||||
|
|
||||||
return new wxFSFile(new wxFileInputStream(fn.GetFullPath()),
|
return new wxFSFile(new wxFFileInputStream(fn.GetFullPath()),
|
||||||
right,
|
right,
|
||||||
GetMimeTypeFromExt(location),
|
GetMimeTypeFromExt(location),
|
||||||
GetAnchor(location),
|
GetAnchor(location),
|
||||||
|
Reference in New Issue
Block a user