X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/728f972bcef8d6b01f5f67cb77060d23098d8877..caf6e6dee8d177844bb633786ec8c05eba6972bc:/src/msw/listctrl.cpp diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 3516a38973..e680736293 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -918,12 +918,19 @@ bool wxListCtrl::SetItemState(long item, long state, long stateMask) // Sets the item image bool wxListCtrl::SetItemImage(long item, int image, int WXUNUSED(selImage)) +{ + return SetItemColumnImage(item, 0, image); +} + +// Sets the item image +bool wxListCtrl::SetItemColumnImage(long item, long column, int image) { wxListItem info; info.m_mask = wxLIST_MASK_IMAGE; info.m_image = image; info.m_itemId = item; + info.m_col = column; return SetItem(info); }