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
This commit is contained in:
Vadim Zeitlin 2001-10-15 22:55:21 +00:00
parent cdcb56fc96
commit 85cdcb7a20

View 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;
}