[USER32] - Sync with Wine Staging 1.9.18.

svn path=/trunk/; revision=72652
This commit is contained in:
James Tabor 2016-09-11 00:58:12 +00:00
parent 3e15c24d4c
commit 4e415d8996

View file

@ -1069,14 +1069,10 @@ static LRESULT LISTBOX_Paint( LB_DESCR *descr, HDC hdc )
else
rect.bottom = rect.top + descr->items[i].height;
/* keep the focus rect, to paint the focus item after */
if (i == descr->focus_item)
{
/* keep the focus rect, to paint the focus item after */
focusRect.left = rect.left;
focusRect.right = rect.right;
focusRect.top = rect.top;
focusRect.bottom = rect.bottom;
}
focusRect = rect;
LISTBOX_PaintItem( descr, hdc, &rect, i, ODA_DRAWENTIRE, TRUE );
rect.top = rect.bottom;