mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:26:17 +00:00
[USER32] - Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72652
This commit is contained in:
parent
3e15c24d4c
commit
4e415d8996
1 changed files with 3 additions and 7 deletions
|
@ -1069,14 +1069,10 @@ static LRESULT LISTBOX_Paint( LB_DESCR *descr, HDC hdc )
|
||||||
else
|
else
|
||||||
rect.bottom = rect.top + descr->items[i].height;
|
rect.bottom = rect.top + descr->items[i].height;
|
||||||
|
|
||||||
|
/* keep the focus rect, to paint the focus item after */
|
||||||
if (i == descr->focus_item)
|
if (i == descr->focus_item)
|
||||||
{
|
focusRect = rect;
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
LISTBOX_PaintItem( descr, hdc, &rect, i, ODA_DRAWENTIRE, TRUE );
|
LISTBOX_PaintItem( descr, hdc, &rect, i, ODA_DRAWENTIRE, TRUE );
|
||||||
rect.top = rect.bottom;
|
rect.top = rect.bottom;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue