Mark Harmstone hellas@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?