http://bugs.winehq.org/show_bug.cgi?id=32427
Bug #: 32427 Summary: Delphi listview: wrong font when using custom draw Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: djelinski1@gmail.com Classification: Unclassified
Created attachment 42781 --> http://bugs.winehq.org/attachment.cgi?id=42781 Sample application with source illustrating the issue
If you attempt to retrieve canvas handle in CustomDraw event handler, the listview items are drawn using "System" font. The font should not change in this case. In the attached example, font used to draw listview items should be the same as font used to draw headers, but is not. Using native comctl32 helps. Bug 29758 describes similar symptoms, may be related.