user32: always call InvalidateRect to redraw a button.
msclrhd at googlemail.com
Sun Jul 6 19:44:01 CDT 2008
The logic to redraw a button when needed was inconsistent across the
button's window procedure.
This patch consistently uses:
if (IsWindowVisible(hWnd)) InvalidateRect( hWnd, NULL, TRUE );
to redraw the button.
This is needed to support a themed button, otherwise the subclassed
button for theming does not correctly intercept redraw notifications.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4957 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080707/e21d40b9/attachment-0001.patch
More information about the wine-patches