wordpad: Update bitmaps outside of WM_PAINT.
commit7a9f72863df0820f484060ed98ba7225d6cb7f5d
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 22 Feb 2010 08:18:18 +0000 (22 03:18 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Feb 2010 11:07:59 +0000 (22 12:07 +0100)
treedee80d66f9580ca01bb5a49c54e29d38473b8de9
parenta75bf390d70e9b0667c1dd6ea6f7b2c792f600eb
wordpad: Update bitmaps outside of WM_PAINT.

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