X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/884360bc11fe926bf91b23215bae719b562df91b..45fcbf3b7a7c9cfd96e67278e4eaa12e8e015651:/docs/latex/wx/imaglist.tex?ds=inline diff --git a/docs/latex/wx/imaglist.tex b/docs/latex/wx/imaglist.tex index a1f79912d9..159e866cc4 100644 --- a/docs/latex/wx/imaglist.tex +++ b/docs/latex/wx/imaglist.tex @@ -12,6 +12,10 @@ wxImageList is used principally in conjunction with \helpref{wxTreeCtrl}{wxtreec \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxTreeCtrl}{wxtreectrl}, \helpref{wxListCtrl}{wxlistctrl} @@ -75,6 +79,14 @@ The new zero-based image index. The original bitmap or icon is not affected by the {\bf Add} operation, and can be deleted afterwards. +\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)}}{} +\end{twocollist}} +} \membersection{wxImageList::Create}\label{wximagelistcreate} \func{bool}{Create}{\param{int }{width}, \param{int }{height}, \param{const bool }{mask = TRUE},\rtfsp @@ -157,4 +169,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.} +