wxListCtrl::InsertItem() returned wrong index.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2000-09-13 20:03:27 +00:00
parent 5143c96b4f
commit 300aaa8f77

View File

@ -3019,7 +3019,7 @@ void wxListMainWindow::InsertItem( wxListItem &item )
else
{
m_lines.Add( line );
item.m_itemId = m_lines.GetCount();
item.m_itemId = m_lines.GetCount()-1;
}
}