Remove commented out line copied from wxMSW

No real changes yet.
This commit is contained in:
Graham Dawes
2019-02-15 17:16:08 +00:00
committed by Vadim Zeitlin
parent d602afe5ec
commit 8adcb899cb

View File

@@ -873,7 +873,6 @@ long wxListCtrl::InsertItem(long index, int imageIndex)
long wxListCtrl::InsertItem(long index, const wxString& label, int imageIndex) long wxListCtrl::InsertItem(long index, const wxString& label, int imageIndex)
{ {
wxListItem info; wxListItem info;
//info.m_image = imageIndex == -1 ? I_IMAGENONE : imageIndex;
info.m_text = label; info.m_text = label;
info.m_mask = wxLIST_MASK_TEXT | wxLIST_MASK_IMAGE; info.m_mask = wxLIST_MASK_TEXT | wxLIST_MASK_IMAGE;
info.m_image = imageIndex; info.m_image = imageIndex;