wordpad: Fix failing GetDlgItem that forced screen repaint.
commit250855bfb0fd5535757bc4707cae7b36c321afac
authorDylan Smith <dylan.ah.smith@gmail.com>
Tue, 15 Jun 2010 04:07:40 +0000 (15 00:07 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 15 Jun 2010 16:29:07 +0000 (15 18:29 +0200)
tree10a17d3717b3de95a92626619e6006ff20a5c79f
parent6e5a22c733282a767c0d306d82b88de9520431bf
wordpad: Fix failing GetDlgItem that forced screen repaint.

The rebar is the parent of the ruler, not the top level window, so
GetDlgItem was returning NULL when the window is resized.  As a result the
screen was being invalidated and repainted instead of the ruler.
programs/wordpad/wordpad.c