git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41258
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
int imgIndex = item->GetImage();
}
int imgIndex = item->GetImage();
+ if ( (item->GetMask() & wxLIST_MASK_IMAGE) ){
wxListCtrl* list = wxDynamicCast( owner->GetPeer() , wxListCtrl );
wxImageList* imageList = list->GetImageList(wxIMAGE_LIST_SMALL);
if (imageList && imageList->GetImageCount() > 0){
wxListCtrl* list = wxDynamicCast( owner->GetPeer() , wxListCtrl );
wxImageList* imageList = list->GetImageList(wxIMAGE_LIST_SMALL);
if (imageList && imageList->GetImageCount() > 0){