[Bug 2624] In dialogs, an incorrect extra WM_ERASEBKGND is sent after WM_PAINT

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 15 21:21:31 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=2624





--- Comment #12 from Mikolaj Zalewski <mikolaj.zalewski at gmail.com>  2007-10-15 21:21:30 ---
Created an attachment (id=8598)
 --> (http://bugs.winehq.org/attachment.cgi?id=8598)
patch

Now I think the top-level windows aren't special - when the window is
invalidated manually the WM_ERASEBKGND is generated during the BeginPaint().
However it looks like the Windows equivalent of expose on a top-level window
does a RedrawWindow(..., RDW_ERASENOW). This patch seems to help IrfanView and
partially GeoInfo - what is drawn after the PeekMessage is shown (that is all
except for the background and the legend). Tomorrow I will try to make some
message sequence tests to see if it is correct.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list