http://bugs.winehq.org/show_bug.cgi?id=34889
Bug #: 34889 Summary: Drawing to device context outside message loop does not update window Product: Wine Version: 1.7.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: milasudril@gmail.com Classification: Unclassified
Created attachment 46495 --> http://bugs.winehq.org/attachment.cgi?id=46495 Source code demonstrating the issue.
When drawing to a window DC outside the message loop, the window does not update (see attachment).
On Windows: There is a flickering rectangle in the upper corner of the window On Wine: The rectangle is not affected until a message is posted from the system
Example compiled and tested with g++ 4.7.1 TDM-GCC 64 bit on Windows 7 64 bit. Compiler command:
g++ test.cpp -mwindows a.exe