uxtheme: cause themed buttons to paint correctly.

Robert Grocott rgrocottbugzilla at gmail.com
Sun Mar 4 06:37:41 CST 2012

(Tried sending this yesterday, but it wasn't showing up on the Archives 
page for some reason, so I'm resending it. If this results in a 
duplicate message, sorry.)

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 --------------
A non-text attachment was scrubbed...
Name: buttontheming.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120304/263faf09/attachment.bin>

More information about the wine-patches mailing list