comctl32: Fix area invalidated by LISTVIEW_SetItemT.

This commit is contained in:
Piotr Caban 2011-06-20 12:46:37 +02:00 committed by Alexandre Julliard
parent 2be1616029
commit 1a67903b04
1 changed files with 3 additions and 0 deletions

View File

@ -4374,6 +4374,9 @@ static BOOL LISTVIEW_SetItemT(LISTVIEW_INFO *infoPtr, LVITEMW *lpLVItem, BOOL is
if (!lpLVItem || lpLVItem->iItem < 0 || lpLVItem->iItem >= infoPtr->nItemCount)
return FALSE;
/* Invalidate old item area */
LISTVIEW_InvalidateItem(infoPtr, lpLVItem->iItem);
/* For efficiency, we transform the lpLVItem->pszText to Unicode here */
if ((lpLVItem->mask & LVIF_TEXT) && is_text(lpLVItem->pszText))
{