]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/virtual/virtual.cpp
Removed wxFindFocusDescendant for non-wxMSW platforms.
[wxWidgets.git] / 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;
 }