]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
create lib\...\setup.h from setup.h, not setup0.h which is not meant to be edited
[wxWidgets.git] / src / generic / listctrl.cpp
index 69f4d47a54374056aa271e72e042151fda68882e..35d5d712b8ab4183277220b46443f4be0e1d9b5f 100644 (file)
@@ -4902,7 +4902,7 @@ bool wxListCtrl::DeleteAllColumns()
 {
     size_t count = m_mainWin->m_columns.GetCount();
     for ( size_t n = 0; n < count; n++ )
-        DeleteColumn(n);
+        DeleteColumn(0);
 
     return TRUE;
 }