From aac75444c6e2c1e4b4304debbdf0d600156ca74a Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Wed, 15 Nov 2006 01:01:16 +0000 Subject: [PATCH] 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 --- src/mac/carbon/listctrl_mac.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }