]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/virtual/virtual.cpp
fix for bug in wxEditableListBox in connection with new wxListCtrl
[wxWidgets.git] / samples / html / virtual / virtual.cpp
index 6efe0580be0bad3d6f079e052639a874e880e46f..f036f4b2007a5a6b2fb3b7d58f922aa0aff4ff5a 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;
 }
 
@@ -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'");