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:
@@ -159,8 +159,8 @@ protected:
|
||||
void OnUpdateToggleHeader(wxUpdateUIEvent& event);
|
||||
void OnUpdateRowLines(wxUpdateUIEvent& event);
|
||||
|
||||
wxImageList *m_imageListNormal;
|
||||
wxImageList *m_imageListSmall;
|
||||
wxVector<wxBitmapBundle> m_imagesNormal;
|
||||
wxVector<wxBitmapBundle> m_imagesSmall;
|
||||
|
||||
wxPanel *m_panel;
|
||||
MyListCtrl *m_listCtrl;
|
||||
|
||||
Reference in New Issue
Block a user