[ 4/8] wordpad: Update bitmaps outside of WM_PAINT.

Dylan Smith dylan.ah.smith at gmail.com
Mon Feb 22 02:18:18 CST 2010


This avoids having to delete the device context and the bitmap selected
into it just to update the bitmap, since it was setting preview.hdc to
NULL to indicate that these bitmaps needed to be updated. This patch
also helps make WM_PAINT messages get processed faster by moving this out
of the code for handling WM_PAINT.
---
 programs/wordpad/print.c |  179 ++++++++++++++++++++++++++++------------------
 1 files changed, 110 insertions(+), 69 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-wordpad-Update-bitmaps-outside-of-WM_PAINT.diff.txt
Type: text/x-patch
Size: 8989 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100222/4096e1e8/attachment-0001.bin>


More information about the wine-patches mailing list