[PATCH] comctl32: Fix drawing of buddy background for updown controls.

Mark Harmstone hellas at burntcomma.com
Tue Mar 31 17:39:07 CDT 2015


Fixes UPDOWN_DrawBuddyBackground so that it correctly draws the
buddy background of updown controls, giving the illusion that the control
is inside the buddy rather than next to it. GetWindowRect replaces
GetClientRect because we want to take into account the buddy's non-client
border. In the case of aligned controls, the drawing needs to be
extended so it covers even the bits that don't overlap the buddy.

---
 dlls/comctl32/updown.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-Fix-drawing-of-buddy-background-for-updown-.patch
Type: text/x-patch
Size: 978 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150331/3fcafa66/attachment.bin>


More information about the wine-patches mailing list