From 3b241537efde9ed3b5b6c1fb0756f00517e0bbd9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Apr 2009 11:10:40 +0000 Subject: [PATCH] remove "item.cchTextMax=0" line from SetItem() as it doesn't seem to make any sense (see #10687) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 1 - 1 file changed, 1 deletion(-) 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"));