mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[COMCTL32] Invalidate LVIS_CUT selected items too (#4218)
This fixes icons that should be drawn transparently not showing as such until window gets repainted. For example, hidden shell folders that are not drawn transparently until the filebrowser window is resized... CORE-16722
This commit is contained in:
parent
c03b2ed9be
commit
855008d97b
1 changed files with 4 additions and 0 deletions
|
@ -2276,7 +2276,11 @@ static void LISTVIEW_InvalidateSelectedItems(const LISTVIEW_INFO *infoPtr)
|
|||
iterator_frameditems(&i, infoPtr, &infoPtr->rcList);
|
||||
while(iterator_next(&i))
|
||||
{
|
||||
#ifdef __REACTOS__
|
||||
if (LISTVIEW_GetItemState(infoPtr, i.nItem, LVIS_SELECTED | LVIS_CUT))
|
||||
#else
|
||||
if (LISTVIEW_GetItemState(infoPtr, i.nItem, LVIS_SELECTED))
|
||||
#endif
|
||||
LISTVIEW_InvalidateItem(infoPtr, i.nItem);
|
||||
}
|
||||
iterator_destroy(&i);
|
||||
|
|
Loading…
Reference in a new issue