http://bugs.winehq.org/show_bug.cgi?id=21709
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-07-01 04:52:41 --- (In reply to comment #5)
I sent the patch: http://www.winehq.org/pipermail/wine-patches/2010-June/090026.html
Alexandre said that's no the correct fix, other device caps suffer from the same problem. Desktop window should be created earlier in the initialization process.