Commit c979b7b0 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

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

parent 72bf0868
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment