Alexandre Julliard : user32/tests: Try harder to flush paint events before checking the window contents.