https://bugs.winehq.org/show_bug.cgi?id=38275
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- Hi, Ivan.
This should be fixed now, see http://source.winehq.org/git/wine.git/?a=commit;h=5e65b65219bd56a5991c2c54df.... Please retest.
Miranda changes don't look very Wine-specific, for example DeferWindowPos called repeatedly overwrites HWDP handle, and same will happen on Windows, when function fails.