diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index f2992b3db4..f0f2b63311 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -918,7 +918,6 @@ bool wxListCtrl::SetItem(wxListItem& info) // call ListView_SetItem() at all if ( item.mask ) { - item.cchTextMax = 0; if ( !ListView_SetItem(GetHwnd(), &item) ) { wxLogDebug(_T("ListView_SetItem() failed"));