compilation fix
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 27 Jan 2000 00:03:50 +0000 (00:03 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 27 Jan 2000 00:03:50 +0000 (00:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/html/virtual/virtual.cpp

index 6efe0580be0bad3d6f079e052639a874e880e46f..0898d66e13c21536c3598c3e3c0479cb6533a2e5 100644 (file)
@@ -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;
 }