From: Julian Smart Date: Mon, 28 Feb 2005 13:55:59 +0000 (+0000) Subject: Documented wxImage XPM data ctor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7ab378223c5ffd7c88ca6cde88d091a521588362?ds=sidebyside Documented wxImage XPM data ctor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/changes.txt b/docs/changes.txt index 64bfe5d239..603ebce692 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -9,6 +9,7 @@ All: - Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original GetBitmap is renamed GetBitmapPtr. +- Added XPM data constructor to wxImage. wxPalmOS: diff --git a/docs/latex/wx/image.tex b/docs/latex/wx/image.tex index 207afc5d8c..c3169fae76 100644 --- a/docs/latex/wx/image.tex +++ b/docs/latex/wx/image.tex @@ -117,6 +117,10 @@ Loads an image from a file. Loads an image from an input stream. +\func{}{wxImage}{\param{const char** }{xpmData}} + +Creates an image from XPM data. + \wxheading{Parameters} \docparam{width}{Specifies the width of the image.} @@ -152,6 +156,8 @@ This is only used by GIF, ICO and TIFF handlers. The default value (-1) means "choose the default image" and is interpreted as the first image (index=0) by the GIF and TIFF handler and as the largest and most colourful one by the ICO handler.} +\docparam{xpmData}{A pointer to XPM image data.} + \wxheading{Remarks} Depending on how wxWidgets has been configured, not all formats may be available.