// 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;
}
// ... and attach this menu bar to the frame
SetMenuBar(menuBar);
- CreateStatusBar(1);
+ CreateStatusBar(2);
html = new wxHtmlWindow(this);
html -> SetRelatedFrame(this, "VFS Demo: '%s'");