compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
03a6a579ae
commit
3592c01e44
@ -67,7 +67,7 @@ wxFSFile* MyVFS::OpenFile(wxFileSystem& fs, const wxString& location)
|
||||
// WARNING: wxMemoryInputStream will not free buf.
|
||||
// There is a memory leak here.
|
||||
str = new wxMemoryInputStream(buf, strlen(buf));
|
||||
f = new wxFSFile(str, location, "text/html", wxEmptyString);
|
||||
f = new wxFSFile(str, location, "text/html", wxEmptyString, wxDateTime::Today());
|
||||
return f;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user