http://bugs.winehq.org/show_bug.cgi?id=18145
Summary: FillRect: Undocumented feature Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: marintsev@gmail.com
Created an attachment (id=20608) --> (http://bugs.winehq.org/attachment.cgi?id=20608) Test that show chess board under WinXP and gray field under wine.
I found that FillRect function have undocumented feature. It can receive 0 in `hbrush' argument. In that case it use brush selected before by SelectObject. I'm attached test program that can prove such behaviour.
This feature is used in some proprietary programs.