[user] static.c: PaintIcon fix background colour (RESEND)
n0dalus+wine at gmail.com
Thu Nov 10 08:10:58 CST 2005
Original patch only filled the background when the icon was invalid,
which is not right when the icon has transparent areas.
* dlls/user/static.c: Kieran Clancy <n0dalus+wine at gmail.com>
Fix background colour on icon controls when SS_CENTERIMAGE is used.
The area now filled is set to the same dimensions of the icon being
displayed (when the icon is valid).
static.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1318 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051111/d064d4e0/wine-static-painticon-3.patch
More information about the wine-patches