mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 04:43:38 +00:00
Don't send ODA_ENTIRE for empty listboxes (LISTBOX_Paint).
This commit is contained in:
parent
72bf0868a2
commit
c979b7b09c
|
@ -880,7 +880,7 @@ static LRESULT LISTBOX_Paint( WND *wnd, LB_DESCR *descr, HDC32 hdc )
|
|||
/* Special case for empty listbox: paint focus rect */
|
||||
rect.bottom = rect.top + descr->item_height;
|
||||
LISTBOX_PaintItem( wnd, descr, hdc, &rect, descr->focus_item,
|
||||
ODA_DRAWENTIRE );
|
||||
ODA_FOCUS );
|
||||
rect.top = rect.bottom;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue