Set m_count to zero in DeleteAllItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1265,6 +1265,7 @@ bool wxListCtrl::DeleteItem(long item)
|
||||
// Deletes all items
|
||||
bool wxListCtrl::DeleteAllItems()
|
||||
{
|
||||
m_count=0;
|
||||
return ListView_DeleteAllItems(GetHwnd()) != 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user