]> git.saurik.com Git - wxWidgets.git/commitdiff
Column position changes after each delete, so always delete the 0 column.
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 15 Nov 2006 01:01:16 +0000 (01:01 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 15 Nov 2006 01:01:16 +0000 (01:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/listctrl_mac.cpp

index acf3d33f62b320b6de22cd37330d641ca2930165..19063881309428ec5a5a8be23477ad0705e94700 100644 (file)
@@ -1556,7 +1556,7 @@ bool wxListCtrl::DeleteAllColumns()
         m_dbImpl->GetColumnCount(&cols);
         for (UInt32 col = 0; col < cols; col++)
         {
-                DeleteColumn(col);
+                DeleteColumn(0);
         }
     }