Commit 1d45250a authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

comctl32/listview: Invalidate the focus rectangle when the control gets or loses focus.

parent efb8d0b4
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment