Redraw if bold state changes.

This commit is contained in:
Aric Stewart 2003-11-26 22:07:17 +00:00 committed by Alexandre Julliard
parent 7d6afc5ddc
commit d78dfc8e44
1 changed files with 2 additions and 1 deletions

View File

@ -2087,7 +2087,8 @@ TREEVIEW_SetItemW(TREEVIEW_INFO *infoPtr, LPTVITEMEXW tvItem)
TREEVIEW_ComputeItemInternalMetrics(infoPtr, wineItem);
/* if any of the items values changed, redraw the item */
if(memcmp(&originalItem, wineItem, sizeof(TREEVIEW_ITEM)))
if(memcmp(&originalItem, wineItem, sizeof(TREEVIEW_ITEM)) ||
(tvItem->stateMask & TVIS_BOLD))
{
if (tvItem->mask & TVIF_INTEGRAL)
{