http://bugs.winehq.org/show_bug.cgi?id=23303
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2010-06-23 01:25:20 --- (In reply to comment #7)
Still its interesting that XP with a window class of zero sends a quite a different set of messages to wine. I would expect them to either match much more closely or for wine to send an extra WM_PAINT when the window manager completes a size change as a failsafe for badly behaved apps :-)
According to your own testing your app doesn't receive WM_PAINT event under XP.