[Bug 20153] AutoCAD 2008: Icons in popup menus too big

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 26 10:02:31 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20153





--- Comment #6 from Wilfried Pasquazzo <wilfried.pasquazzo at gmail.com>  2009-09-26 10:02:31 ---
Created an attachment (id=23775)
 --> (http://bugs.winehq.org/attachment.cgi?id=23775)
Respect precalculated image width/height when drawing a state-sensitive Icon

Wasn't successful with installing autocad 2008, but I think I've found the
problem (or at least one of them) anyway.

When drawing state-sensitive Icons with DrawState() (dlls/user32/uitools.c) -
which is mostly done with buttons and menu icons - the size of the icon was
calculated but not passed on to the drawing function. This problem didn't
reveal itself up till now, because the used drawing method "DrawIcon" did
respect the icon size (which it shouldn't have).

This one-liner patch should fix it. Can someone try it and tell me if it really
fixes that problem?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list