X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbddf573912254bb14b4ca70c5c5db6248051294..4d0f796587734fd99c0a8f75bf82f13b8d5fd0ff:/docs/latex/wx/fs_mem.tex

diff --git a/docs/latex/wx/fs_mem.tex b/docs/latex/wx/fs_mem.tex
index 41a02f0d88..8ce62251a5 100644
--- a/docs/latex/wx/fs_mem.tex
+++ b/docs/latex/wx/fs_mem.tex
@@ -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}
