]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
Warning fixes to unused variables, int/wxChar keycode and other typecasting, not...
[wxWidgets.git] / src / generic / listctrl.cpp
index e965866237a2ff797052cb2898e2462739a7a607..dece7fb5ebfed8cc8ca39b4a21b350b594067b2c 100644 (file)
@@ -4399,7 +4399,7 @@ void wxListMainWindow::InsertItem( wxListItem &item )
 
     wxListLineData *line = new wxListLineData(this);
 
-    line->SetItem( 0, item );
+    line->SetItem( item.m_col, item );
 
     m_lines.Insert( line, id );