X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06d20283afba5439c8a2c1b3b7cd3390541da52d..bf7945cef10c0844a32e95695c544d829da9293a:/docs/latex/wx/imaglist.tex diff --git a/docs/latex/wx/imaglist.tex b/docs/latex/wx/imaglist.tex index 159e866cc4..548b3dae78 100644 --- a/docs/latex/wx/imaglist.tex +++ b/docs/latex/wx/imaglist.tex @@ -82,9 +82,9 @@ The original bitmap or icon is not affected by the {\bf Add} operation, and can \pythonnote{In place of a single overloaded method name, wxPython implements the following methods:\par \indented{2cm}{\begin{twocollist} -\twocolitem{\bf{Add(bitmap, mask=wxNullBitmap)}}{} -\twocolitem{\bf{AddWithColourMask(bitmap, colour)}}{} -\twocolitem{\bf{AddIcon(icon)}}{} +\twocolitem{{\bf Add(bitmap, mask=wxNullBitmap)}}{} +\twocolitem{{\bf AddWithColourMask(bitmap, colour)}}{} +\twocolitem{{\bf AddIcon(icon)}}{} \end{twocollist}} } \membersection{wxImageList::Create}\label{wximagelistcreate} @@ -131,6 +131,26 @@ that the background is solid.} Returns the number of images in the list. +\membersection{wxImageList::GetSize}\label{wximagelistgetsize} + +\constfunc{bool}{GetSize}{\param{int }{index}, \param{int\& }{width}, \param{int \&}{height}} + +Retrieves the size of the images in the list. Currently, the {\it index} +parameter is ignored as all images in the list have the same size. + +\wxheading{Parameters} + +\docparam{index}{currently unused, should be 0} + +\docparam{width}{receives the width of the images in the list} + +\docparam{height}{receives the height of the images in the list} + +\wxheading{Return value} + +TRUE if the function succeeded, FALSE if it failed (for example, if the image +list was not yet initialized). + \membersection{wxImageList::Remove}\label{wximagelistremove} \func{bool}{Remove}{\param{int}{ index}} @@ -169,6 +189,6 @@ TRUE if the replacement was successful, FALSE otherwise. The original bitmap or icon is not affected by the {\bf Replace} operation, and can be deleted afterwards. -\pythonnote{The second form is called \tt{ReplaceIcon} in wxPython.} +\pythonnote{The second form is called {\tt ReplaceIcon} in wxPython.}