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
This commit is contained in:
Vadim Zeitlin 2009-04-07 11:10:40 +00:00
parent dcc3f1a5e3
commit 3b241537ef

View File

@ -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"));