void MyFrame::OnAbout(wxCommandEvent&)
{
wxBusyCursor bcur;
-
+ wxFileSystem::AddHandler(new wxMemoryFSHandler);
wxMemoryFSHandler::AddFile("logo.pcx", wxBITMAP(logo), wxBITMAP_TYPE_PCX);
wxMemoryFSHandler::AddFile("about.htm",
"<html><body>About: "
will be copied into private memory stream and available under
name "memory:" + filename.
-Note that when storing image/bitmap, you must use image format that wxWindows
+Note that when storing image/bitmap, you must use image format that wxWidgets
can write (e.g. JPG, PNG, see \helpref{wxImage documentation}{wximage})!