user32: WM_SETFONT on button shouldn't repaint directly

Dmitry Timoshkov dmitry at codeweavers.com
Tue Jan 23 10:52:51 CST 2007


"Clinton Stimpson" <cjstimpson at utwire.net> wrote:

> -        if (lParam) paint_button( hWnd, btn_type, ODA_DRAWENTIRE );
> +        if (LOWORD(lParam)) InvalidateRect(hWnd, NULL, TRUE);

Your test doesn't show that the usage of LOWORD(lParam) is justified.

-- 
Dmitry.



More information about the wine-devel mailing list