[COMCTL32] Listview: Store DC before calling PREPAINT

Maarten Lankhorst m.b.lankhorst at gmail.com
Mon Jan 30 14:16:03 CST 2006

Some applications like to use PREPAINT to set fonts, nothing wrong with 
that, only DC is never restored, resulting in drawing glitches.

Save and restore DC on every listview item drawn.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listview.patch
Type: text/x-patch
Size: 1581 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060130/95406c2f/listview.patch

More information about the wine-patches mailing list