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:
@@ -4902,7 +4902,7 @@ bool wxListCtrl::DeleteAllColumns()
|
|||||||
{
|
{
|
||||||
size_t count = m_mainWin->m_columns.GetCount();
|
size_t count = m_mainWin->m_columns.GetCount();
|
||||||
for ( size_t n = 0; n < count; n++ )
|
for ( size_t n = 0; n < count; n++ )
|
||||||
DeleteColumn(n);
|
DeleteColumn(0);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user