Don't send ODA_ENTIRE for empty listboxes (LISTBOX_Paint).

This commit is contained in:
Gerard Patel 1998-12-24 16:25:50 +00:00 committed by Alexandre Julliard
parent 72bf0868a2
commit c979b7b09c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}