wxListCtrl::InsertItem returns the index of the inserted item

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-09-30 22:17:02 +00:00
parent 5e014a0c44
commit 2ebcd5f5fd

View File

@@ -2876,7 +2876,7 @@ long wxListCtrl::HitTest( const wxPoint &point, int &flags )
long wxListCtrl::InsertItem( wxListItem& info )
{
m_mainWin->InsertItem( info );
return 0;
return info.m_itemId;
}
long wxListCtrl::InsertItem( long index, const wxString &label )