diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index cef12e2f49..90c122a4cc 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1265,7 +1265,6 @@ bool wxListCtrl::DeleteItem(long item) // Deletes all items bool wxListCtrl::DeleteAllItems() { - m_count=0; return ListView_DeleteAllItems(GetHwnd()) != 0; }