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:
Julian Smart
2006-04-02 15:50:32 +00:00
parent 33366127e8
commit eb257f65ed

View File

@@ -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