http://bugs.winehq.org/show_bug.cgi?id=3297
--- Comment #4 from P. Quist pq@quistnet.nl 2008-03-17 22:16:52 --- Created an attachment (id=11465) --> (http://bugs.winehq.org/attachment.cgi?id=11465) Simple fix
I'm pretty new to the code, so it was a bit of a struggle, but I seemed to be able to fix this particular application by appending a line that seems to cause the driver to exhale.
I added the line at the end of update_now(), so it pretty much only applies to applications using the UpdateWindow() function. I got the idea from the RedrawWindow() function, which calls the same driver function just before it starts sending WM_PAINTS. (which seemed a bit odd to me, but I'm sure it's there for a reason)
Thus I didn't see any difference in a few other applications that have painting issues. But for this test application it does the trick.