[PATCH] comctl32: do not call HEADER_FillItemFrame twice in a row

Mark Harmstone hellas at burntcomma.com
Tue Feb 17 16:35:27 CST 2015


When a header window is drawn in comctl32, if it's not HDF_OWNERDRAW the
function HEADER_FillItemFrame gets called twice in a row. Because this
function also modifies the RECT through GetThemeBackgroundContentRect when
themed, this can result in graphical errors, with a smaller box drawn
inside of the bigger one.

---
 dlls/comctl32/header.c | 3 ---
 1 file changed, 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-do-not-call-HEADER_FillItemFrame-twice-in-a.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150217/347d5340/attachment.bin>


More information about the wine-patches mailing list