mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
Fix things broken by the last TREEVIEW_UpdateDispInfo patch.
This commit is contained in:
parent
a851c88001
commit
fb39442d7f
1 changed files with 4 additions and 1 deletions
|
@ -683,7 +683,7 @@ TREEVIEW_UpdateDispInfo(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
|
|||
NMTVDISPINFOA callback;
|
||||
HWND hwnd = infoPtr->hwnd;
|
||||
|
||||
mask &= ~wineItem->callbackMask;
|
||||
mask &= wineItem->callbackMask;
|
||||
|
||||
if (mask == 0) return;
|
||||
|
||||
|
@ -1151,6 +1151,9 @@ TREEVIEW_DoSetItem(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
|
|||
tvItem->stateMask);
|
||||
wineItem->state &= ~tvItem->stateMask;
|
||||
wineItem->state |= (tvItem->state & tvItem->stateMask);
|
||||
|
||||
if (tvItem->stateMask & TVIS_BOLD)
|
||||
callbackSet |= TVIF_TEXT;
|
||||
}
|
||||
|
||||
wineItem->callbackMask |= callbackSet;
|
||||
|
|
Loading…
Reference in a new issue