mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[USER32] - Sync with Wine Staging 1.9.18.
svn path=/trunk/; revision=72652
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user