From 1e6601c72f65f6608ff66d113ffa26bd613e0c9a Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Mon, 1 Nov 2004 12:09:18 +0000 Subject: [PATCH] wxListCtrl::InsertItem() ignored the column. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index e965866237..dece7fb5eb 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4399,7 +4399,7 @@ void wxListMainWindow::InsertItem( wxListItem &item ) wxListLineData *line = new wxListLineData(this); - line->SetItem( 0, item ); + line->SetItem( item.m_col, item ); m_lines.Insert( line, id ); -- 2.45.2