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: "
\wxheading{Include files}
-<wx/fs_mem.h>
+<wx/fs\_mem.h>
\latexignore{\rtfignore{\wxheading{Members}}}
Add file to list of files stored in memory. Stored
data (bitmap, text or raw data)
will be copied into private memory stream and available under
-name "memory:" + filename.
+name "memory:" + \arg{filename}.
+The \arg{type} argument is one of {\tt wxBITMAP\_TYPE\_XXX} constants.
+Note that you must use a \arg{type} value (aka image format)
+that wxWidgets can save (e.g. JPG, PNG, see \helpref{wxImage
+documentation}{wximage})!
\membersection{wxMemoryFSHandler::RemoveFile}\label{wxmemoryfshandlerremovefile}