Add wxListCtrl::Set{Normal,Small}Images()

These new functions allow to use wxBitmapBundle for the images in this
control instead of wxImageList.

Update the sample to use the new API.
This commit is contained in:
Vadim Zeitlin
2021-11-11 00:50:20 +00:00
parent 9ea8feec37
commit aca0c74e60
11 changed files with 150 additions and 59 deletions

View File

@@ -212,7 +212,7 @@ public:
protected:
// Implement base class pure virtual methods.
long DoInsertColumn(long col, const wxListItem& info) wxOVERRIDE;
void DoSetImageList(wxImageList *imageList, int which) wxOVERRIDE;
void DoUpdateImages(int which) wxOVERRIDE;
virtual wxSize DoGetBestClientSize() const wxOVERRIDE;