WM_ERASEBKGND message should not be sent inside of BeginPaint function, whatever MSDN says.
Erasing background should be done before start of processing WM_PAINT (i.e. before passing WM_PAINT to user callback function).
This test is related with previous.
Wine Bot says, that test succeeds on all Windows platforms and fails on Wine. So I marked it todo.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-4-4-user32-tests-WM_ERASEBKGND-message-should-not-be-s.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120603/827402c9/attachment.txt>