X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e1e096097346054f8194cf475d03ae9cde46647..14dd645ee16eb022afb19f35d0c8cfdf2d3cdee9:/samples/html/virtual/virtual.cpp diff --git a/samples/html/virtual/virtual.cpp b/samples/html/virtual/virtual.cpp index 6efe0580be..f036f4b200 100644 --- a/samples/html/virtual/virtual.cpp +++ b/samples/html/virtual/virtual.cpp @@ -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; } @@ -199,7 +199,7 @@ wxHtmlWindow *html; // ... and attach this menu bar to the frame SetMenuBar(menuBar); - CreateStatusBar(1); + CreateStatusBar(2); html = new wxHtmlWindow(this); html -> SetRelatedFrame(this, "VFS Demo: '%s'");