\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/imaglist.h>
+
\wxheading{See also}
\helpref{wxTreeCtrl}{wxtreectrl}, \helpref{wxListCtrl}{wxlistctrl}
Adds a new image using a bitmap and mask colour.
-\func{int}{Add}{\param{const wxBitmap\&}{ icon}}
+\func{int}{Add}{\param{const wxIcon\&}{ icon}}
Adds a new image using an icon.
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
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.}
+