[PATCH 2/2] comctl32: draw the focus rect on themed checkboxes

Mark Harmstone hellas at burntcomma.com
Tue Feb 10 16:02:02 CST 2015


The focus rect on themed checkboxes was only being displayed so far because
the background wasn't being redrawn - and even then it was buggy, failing to
take into account the checkboxes' font.

I've had to add another param to the themed paint function, as whether or not
a checkbox is focused is independent of the state of the actual box.

---
 dlls/comctl32/theme_button.c | 44 +++++++++++++++++++++++++++++++++++++-------
 1 file changed, 37 insertions(+), 7 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-draw-checkbox-focus-rect.patch
Type: text/x-patch
Size: 4165 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150210/a3100301/attachment.bin>


More information about the wine-patches mailing list