http://bugs.winehq.org/show_bug.cgi?id=30103
Bug #: 30103 Summary: Static controls with bitmap do not display correct background. Product: Wine Version: 1.4-rc6 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: carlo.bramix@libero.it Classification: Unclassified
Created attachment 39234 --> http://bugs.winehq.org/attachment.cgi?id=39234 Screenshot with difference between Windows and WINE
An image static control does not seem painting the background around the image with the right color. The default color used for filling the area around the image is not COLOR_BTNFACE (I guess you selected that one) but instead it seems to be filled with a solid brush created with the color in the origin of the image, at coordinates (0,0). I attached a screenshot that it shows the difference between the expected result and the current result obtained in WINE. This is a trick tipically used to reduce the size of the bitmap since the image control "expands" the color we want without any additional work. Sometimes you can see this artifact in some "about box" of some software, however I also attached a demo programme that you can use to reproduce the defect.
Sincerely,
Carlo Bramini