From: Kevin Ollivier Date: Wed, 15 Nov 2006 01:01:16 +0000 (+0000) Subject: Column position changes after each delete, so always delete the 0 column. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aac75444c6e2c1e4b4304debbdf0d600156ca74a Column position changes after each delete, so always delete the 0 column. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/listctrl_mac.cpp b/src/mac/carbon/listctrl_mac.cpp index acf3d33f62..1906388130 100644 --- a/src/mac/carbon/listctrl_mac.cpp +++ b/src/mac/carbon/listctrl_mac.cpp @@ -1556,7 +1556,7 @@ bool wxListCtrl::DeleteAllColumns() m_dbImpl->GetColumnCount(&cols); for (UInt32 col = 0; col < cols; col++) { - DeleteColumn(col); + DeleteColumn(0); } }