]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/fs_mem.tex
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test...
[wxWidgets.git] / docs / latex / wx / fs_mem.tex
index 41a02f0d88afe877c00ece1746daa956d5c85ee8..8ce62251a56b9f11963c361b0b98efcfdc0ec2dd 100644 (file)
@@ -22,7 +22,7 @@ Example:
 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: "
@@ -60,7 +60,7 @@ void MyFrame::OnAbout(wxCommandEvent&)
 
 \wxheading{Include files}
 
-<wx/fs_mem.h>
+<wx/fs\_mem.h>
 
 
 \latexignore{\rtfignore{\wxheading{Members}}}
@@ -87,6 +87,8 @@ data (bitmap, text or raw data)
 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 wxWidgets
+can write (e.g. JPG, PNG, see \helpref{wxImage documentation}{wximage})!
 
 
 \membersection{wxMemoryFSHandler::RemoveFile}\label{wxmemoryfshandlerremovefile}