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:
		@@ -1052,10 +1052,10 @@ void MyListCtrl::InsertItemInReportView(int i)
 | 
				
			|||||||
    SetItemData(tmp, i);
 | 
					    SetItemData(tmp, i);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    buf.Printf(_T("Col 1, item %d"), 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);
 | 
					    buf.Printf(_T("Item %d in column 2"), i);
 | 
				
			||||||
    SetItem(i, 2, buf);
 | 
					    SetItem(tmp, 2, buf);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if USE_CONTEXT_MENU
 | 
					#if USE_CONTEXT_MENU
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user