fixed documentantion for wxMemoryFSHandler::AddFileWithMimeType() -- older version for two versions of AddFile() was checked in by mistake

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-06-22 12:56:53 +00:00
parent 35d1efe657
commit ea75081be2

View File

@@ -78,10 +78,6 @@ Constructor.
\func{static void}{AddFile}{\param{const wxString\& }{filename}, \param{const wxBitmap\& }{bitmap}, \param{long }{type}} \func{static void}{AddFile}{\param{const wxString\& }{filename}, \param{const wxBitmap\& }{bitmap}, \param{long }{type}}
\func{static void}{AddFile}{\param{const wxString\& }{filename}, \param{const wxString\& }{textdata}, \param{const wxString\& }{mimetype}}
\func{static void}{AddFile}{\param{const wxString\& }{filename}, \param{const void* }{binarydata}, \param{size\_t }{size}, \param{const wxString\& }{mimetype}}
Add file to list of files stored in memory. Stored Add file to list of files stored in memory. Stored
data (bitmap, text or raw data) data (bitmap, text or raw data)
will be copied into private memory stream and available under will be copied into private memory stream and available under
@@ -92,8 +88,26 @@ Note that you must use a \arg{type} value (aka image format)
that wxWidgets can save (e.g. JPG, PNG, see \helpref{wxImage that wxWidgets can save (e.g. JPG, PNG, see \helpref{wxImage
documentation}{wximage})! documentation}{wximage})!
Versions that take \arg{mimetype} argument are available since version 2.8.5. \wxheading{See also}
\helpref{AddFileWithMimeType}{wxmemoryfshandleraddfilewithmimetype}
\membersection{wxMemoryFSHandler::AddFileWithMimeType}\label{wxmemoryfshandleraddfilewithmimetype}
\func{static void}{AddFileWithMimeType}{\param{const wxString\& }{filename}, \param{const wxString\& }{textdata}, \param{const wxString\& }{mimetype}}
\func{static void}{AddFileWithMimeType}{\param{const wxString\& }{filename}, \param{const void* }{binarydata}, \param{size\_t }{size}, \param{const wxString\& }{mimetype}}
Like \helpref{AddFile}{wxmemoryfshandleraddfile}, but lets you explicitly
specify added file's MIME type. This version should be used whenever you know
the MIME type, because it makes accessing the files faster.
\newsince{2.8.5}
\wxheading{See also}
\helpref{AddFile}{wxmemoryfshandleraddfile}
\membersection{wxMemoryFSHandler::RemoveFile}\label{wxmemoryfshandlerremovefile} \membersection{wxMemoryFSHandler::RemoveFile}\label{wxmemoryfshandlerremovefile}