Lines Matching refs:icon
30 #include "wx/icon.h"
171 // Adds a bitmap and mask from an icon.
172 int wxImageList::Add(const wxIcon& icon)
174 int index = ImageList_AddIcon(GetHImageList(), GetHiconOf(icon));
203 // Replaces a bitmap and mask from an icon.
204 bool wxImageList::Replace(int i, const wxIcon& icon)
206 bool ok = ImageList_ReplaceIcon(GetHImageList(), i, GetHiconOf(icon)) != -1;
303 // redraw icon over the mask colour to actually draw it
318 // Get the icon
324 wxIcon icon;
325 icon.SetHICON((WXHICON)hIcon);
329 icon.SetSize(iconW, iconH);
331 return icon;