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.
- Reece
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-user32-always-call-InvalidateRect-to-redraw-a-butto.patch
Type: text/x-diff
Size: 4957 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080707/e21d40b9/attachment-0001.patch