#include </home/Hamish/wxwidgets/wxWidgets3.0-3.0.5.1-1.x86_64/src/wxWidgets-3.0.5.1/interface/wx/withimages.h>
A mixin class to be used with other classes that use a wxImageList.
◆ anonymous enum
◆ wxWithImages()
wxWithImages::wxWithImages |
( |
| ) |
|
◆ ~wxWithImages()
virtual wxWithImages::~wxWithImages |
( |
| ) |
|
|
virtual |
◆ AssignImageList()
void wxWithImages::AssignImageList |
( |
wxImageList * |
imageList | ) |
|
◆ GetImage()
wxIcon wxWithImages::GetImage |
( |
int |
iconIndex | ) |
const |
|
protected |
Return the image with the given index from the image list.
If there is no image list or if index == NO_IMAGE, silently returns wxNullIcon.
◆ GetImageList()
◆ HasImageList()
bool wxWithImages::HasImageList |
( |
| ) |
const |
|
protected |
Return true if we have a valid image list.
◆ SetImageList()
virtual void wxWithImages::SetImageList |
( |
wxImageList * |
imageList | ) |
|
|
virtual |
Sets the image list to use.
It does not take ownership of the image list, you must delete it yourself.
- See also
- wxImageList, AssignImageList()