comctl32/listview: Invalidate the focus rectangle when the control gets or loses focus.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
efb8d0b497
commit
1d45250a58
|
@ -2221,9 +2221,8 @@ static void LISTVIEW_ShowFocusRect(const LISTVIEW_INFO *infoPtr, BOOL fShow)
|
|||
SelectObject(hdc, hOldFont);
|
||||
}
|
||||
else
|
||||
{
|
||||
LISTVIEW_DrawFocusRect(infoPtr, hdc);
|
||||
}
|
||||
LISTVIEW_InvalidateItem(infoPtr, infoPtr->nFocusedItem);
|
||||
|
||||
done:
|
||||
ReleaseDC(infoPtr->hwndSelf, hdc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue