]> git.saurik.com Git - wxWidgets.git/commitdiff
remove "item.cchTextMax=0" line from SetItem() as it doesn't seem to make any sense...
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Apr 2009 11:10:40 +0000 (11:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 7 Apr 2009 11:10:40 +0000 (11:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index f2992b3db4727efac82d10c1e5a81fe0ae6ed0b9..f0f2b63311fb5eb0b7f5567daf1c6a6636bbe1ff 100644 (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"));