http://bugs.winehq.org/show_bug.cgi?id=23180
--- Comment #21 from Andreas Hermann Braml andreas@braml.org 2010-07-09 19:51:49 --- Re the game mentioned in comment #19 I can't confirm that it behaves the same as TREPCAD (at least not on 1.2-rc6). In KWin, the close button "x" is always there when I run WSLAM.EXE. So, at least for me, the game doesn't have this bug.
Re Dmitry's patch from comment #20: Unfortunately, it doesn't change the bahviour with KWin and thus doesn't fix the bug. The "x" is still missing in TREPCAD with your patch applied. Everything else apparently is the same, too.
I can check with the other WMs on my main computer after the weekend (to see if the patch changes anything for them).