listbox: ownerdraw fix

Dimitrie O. Paun dpaun at rogers.com
Mon Nov 17 08:59:20 CST 2003


On November 17, 2003 07:33 am, Huw D M Davies wrote:
> -            LISTBOX_RepaintItem( hwnd, descr, i, ODA_SELECT );
> +            if (!IS_OWNERDRAW(descr))
> +                LISTBOX_RepaintItem( hwnd, descr, i, ODA_SELECT );
> +            else
> +                LISTBOX_InvalidateItemRect(hwnd, descr, i);
> +                

Why not simply invalidate rect always, even when not in owner draw?

-- 
Dimi.




More information about the wine-devel mailing list