From: Václav Slavík Date: Sat, 22 Jan 2000 11:54:55 +0000 (+0000) Subject: updated documentation about default type in wxImage ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/087c0d5ebb61e0ba87684eb5c03e94a2436cd9f9 updated documentation about default type in wxImage ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index 26c445a4da..6199e3ec2d 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -73,13 +73,13 @@ and forth without loss in that respect. Creates an image with the given width and height. -\func{}{wxImage}{\param{const wxString\& }{name}, \param{long}{ type = wxBITMAP\_TYPE\_PNG}} +\func{}{wxImage}{\param{const wxString\& }{name}, \param{long}{ type = wxBITMAP\_TYPE\_ANY}} \func{}{wxImage}{\param{const wxString\& }{name}, \param{const wxString\&}{ mimetype}} Loads an image from a file. -\func{}{wxImage}{\param{wxInputStream\& }{stream}, \param{long}{ type = wxBITMAP\_TYPE\_PNG}} +\func{}{wxImage}{\param{wxInputStream\& }{stream}, \param{long}{ type = wxBITMAP\_TYPE\_ANY}} \func{}{wxImage}{\param{wxInputStream\& }{stream}, \param{const wxString\&}{ mimetype}} @@ -105,6 +105,7 @@ Loads an image from an input stream. \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_GIF}}}{Load a GIF bitmap file.} \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_PCX}}}{Load a PCX bitmap file.} \twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_PNM}}}{Load a PNM bitmap file.} +\twocolitem{{\bf \indexit{wxBITMAP\_TYPE\_ANY}}}{Will try to autodetect the format.} \end{twocollist} The validity of these flags depends on the platform and wxWindows configuration.