http://bugs.winehq.org/show_bug.cgi?id=29183
Bug #: 29183 Summary: Heavy corruption when rendering edit control with WM_PRINTCLIENT and possibly invalid HDC Product: Wine Version: 1.3.33 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs@winehq.org ReportedBy: toni.spets@iki.fi Classification: Unclassified
Created attachment 37649 --> http://bugs.winehq.org/attachment.cgi?id=37649 Hack for the problem
This is the most severe bug with ResEdit currently. For some reason WM_PRINTCLIENT might get a wParam with HDC that causes massive corruption when used. Forcing using Begin/EndPaint avoid the problem.
On Windows it seems to work just fine.
Patch with hack attached and another attachment with the corruption shown. The window height problem with the dialog in the center is related to another bug. Also attached a screenshot with all my hacks applied.