wordpad: Remove sized print preview page buffer.
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 19 Jul 2010 22:20:59 +0000 (18:20 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Jul 2010 11:13:04 +0000 (13:13 +0200)
commit0cd3ee3d91d817010f9010b59b478084a1bae909
tree996dc9fb280a19b70f0c8acaf3e2a5f7e47e9a9d
parent6c9edce1a877ce67dd6c0a2e9aba1f94b8791b70
wordpad: Remove sized print preview page buffer.

This extra buffer only saves the result of the StretchBlt operatation,
which isn't worth doing since a BitBlt will still be needed from the buffer
to the screen. This causes noticable delay on resizing since a new sized
bitmap needs to be created, the old bitmap needs to be destroyed, and then
both a StretchBlt and a Bitblt is needed to actually repaint the window.
programs/wordpad/print.c