wordpad: Use pages_shown variables to indicate pages shown.
commita75bf390d70e9b0667c1dd6ea6f7b2c792f600eb
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 22 Feb 2010 08:18:11 +0000 (22 03:18 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Feb 2010 11:07:49 +0000 (22 12:07 +0100)
tree5b3883d091d88faf1a0c659f1226254d34f5a985
parentb2781015807bfedcdad24b9c52bc1c81dbcd95f9
wordpad: Use pages_shown variables to indicate pages shown.

Previously hdc2 needed to be deleted and set to NULL to indicate that only
one page should be shown. I have avoided this using a new variable for
the preview structure.

The device context were also being deleted without deleting the bitmaps
created for them and selected into them, so this patch also gets these
bitmaps and deletes them with their device context.
programs/wordpad/print.c