.\" This is a wxWidgets manpage page generated from the XML docs .TH wxIconBundle 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxIconBundle \- .SH DESCRIPTION This class contains multiple copies of an icon in different sizes, see also wxDialog::SetIcons and wxTopLevelWindow::SetIcons . .SH "PARENTS" .SH "INCLUDE FILES" .SH MEMBERS .SS wxIconBundle () Default constructor. .SS wxIconBundle (const wxString& filelong type) Initializes the bundle with the icon(s) found in the file. .SS wxIconBundle (const wxIcon& icon) Initializes the bundle with a single icon. .SS wxIconBundle (const wxIconBundle& ic) Copy constructor. .SS ~wxIconBundle () Destructor. .SS void AddIcon (const wxString& filelong type) Adds all the icons contained in the file to the bundle; if the collection already contains icons with the same width and height, they are replaced by the new ones. .SS void AddIcon (const wxIcon& icon) Adds the icon to the collection; if the collection already contains an icon with the same width and height, it is replaced by the new one. .SS const wxIcon& GetIcon (const wxSize& size) Returns the icon with the given size; if no such icon exists, returns the icon with size wxSYS_ICON_X/wxSYS_ICON_Y; if no such icon exists, returns the first icon in the bundle. If size = wxSize( -1, -1 ), returns the icon with size wxSYS_ICON_X/wxSYS_ICON_Y. .SS const wxIcon& GetIcon (wxCoord size = -1) Same as GetIcon( wxSize( size, size ) ). .SS const wxIconBundle& operator= (const wxIconBundle& ic) Assignment operator. .SH "SEE ALSO" .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.