http://bugs.winehq.org/show_bug.cgi?id=12493
Summary: CreateCompatibleDC creates a compatible DC from everything Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: mail@colinfinck.de
Under Wine, stuff like CreateCompatibleDC((HDC)123456) returns a valid DC handle while this doesn't work under Windows.
This leads to a problem, when applications start to rely on this behaviour. One app, which already does this, is your Wine Wordpad. It only works properly under Wine, but not under Windows. It hangs there if you try to resize the window.
So please fix this incorrect behaviour and also all apps affected by it. I only know of Wine Wordpad, but maybe there are even more.