From: Václav Slavík <vslavik@fastmail.fm> Date: Wed, 9 Mar 2005 22:52:07 +0000 (+0000) Subject: AddFile usage clarifications X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/54ab3bb8b3ac8b8d071d69da9d403ef0e5d7621d AddFile usage clarifications git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/fs_mem.tex b/docs/latex/wx/fs_mem.tex index 8ce62251a5..3db09a4832 100644 --- a/docs/latex/wx/fs_mem.tex +++ b/docs/latex/wx/fs_mem.tex @@ -85,10 +85,12 @@ Constructor. 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}. -Note that when storing image/bitmap, you must use image format that wxWidgets -can write (e.g. JPG, PNG, see \helpref{wxImage documentation}{wximage})! +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}