[PATCH] user32: use InvalidateRect to repaint buttons
dmitry at baikal.ru
Tue Feb 10 22:11:22 CST 2015
Mark Harmstone <hellas at burntcomma.com> wrote:
> At present, whenever a button needs to be redrawn user32 calls its own
> internal function. This causes problems if the button is subclassed, as
> the superclass then won't receive the WM_PAINT message - this is why
> themed buttons lose their theme when you click on them. This patch changes
> it to instead call InvalidateRect, which will force a WM_PAINT message
> to be sent to the topmost class.
Did you run 'make test' with your changes?
More information about the wine-devel