From: Vadim Zeitlin Date: Mon, 15 Oct 2001 22:55:21 +0000 (+0000) Subject: fixed wxListCtrl::DeleteAllColumns() in the generic listctrl (patch 470251) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/85cdcb7a20684c377c1ab2b4671a66d47688614a?ds=inline fixed wxListCtrl::DeleteAllColumns() in the generic listctrl (patch 470251) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 69f4d47a54..35d5d712b8 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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; }