uxtheme: cause themed buttons to render correctly when pressed and released

Robert Grocott rgrocottbugzilla at gmail.com
Sun Mar 4 07:04:42 CST 2012


(Tried sending this a couple of times previously, but apparently emails are
silently ignored if you're not subscribed to the mailing list? If this ends
up being a duplicate message, sorry about that.)

The attached patch fixes an unreported bug: themed button controls will
redraw themselves in the unthemed style on mousedown and mouseup (as well
as a few other, rarer events). This was due to various button message
handlers invoking the unthemed renderer directly, rather than deferring to
WM_PAINT.

Robert Grocott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120304/cbceec40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buttontheming.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120304/cbceec40/attachment.bin>


More information about the wine-patches mailing list