Corrected index passed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
33366127e8
commit
eb257f65ed
1 changed files with 2 additions and 2 deletions
|
|
@ -1052,10 +1052,10 @@ void MyListCtrl::InsertItemInReportView(int i)
|
|||
SetItemData(tmp, i);
|
||||
|
||||
buf.Printf(_T("Col 1, item %d"), i);
|
||||
SetItem(i, 1, buf);
|
||||
SetItem(tmp, 1, buf);
|
||||
|
||||
buf.Printf(_T("Item %d in column 2"), i);
|
||||
SetItem(i, 2, buf);
|
||||
SetItem(tmp, 2, buf);
|
||||
}
|
||||
|
||||
#if USE_CONTEXT_MENU
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue