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:
parent
cdcb56fc96
commit
85cdcb7a20
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user