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:
@@ -2876,7 +2876,7 @@ long wxListCtrl::HitTest( const wxPoint &point, int &flags )
|
|||||||
long wxListCtrl::InsertItem( wxListItem& info )
|
long wxListCtrl::InsertItem( wxListItem& info )
|
||||||
{
|
{
|
||||||
m_mainWin->InsertItem( info );
|
m_mainWin->InsertItem( info );
|
||||||
return 0;
|
return info.m_itemId;
|
||||||
}
|
}
|
||||||
|
|
||||||
long wxListCtrl::InsertItem( long index, const wxString &label )
|
long wxListCtrl::InsertItem( long index, const wxString &label )
|
||||||
|
Reference in New Issue
Block a user