Hi Dmitry,
> Although WinEdt doesn't crash for me, it
> exhibits some flaws in the way Wine manages windows. For instance main
> WinEdt window has only close box on it, though in Windows all three
> standard buttons showed.
>
> My patch adds another "feature": after any dialog box was shown, bitmap
> on the system menu along with the sole close box on the main window caption
> disappear and don't get restored after the main window was enabled back.
I don't think your patch is causing these problems. I have these two same
problems in the app that I am debugging, without your patch applied.
(I get this problem with KDE 1.1.2) For me, when the app starts up
it has a normal rectangular window and only has the close button. When
a region is applied to its window with SetWindowRgn(), and then
a normal rectangular window is restored with a SetWindowRgn() and a
NULL region, the window doesn't have a system menu or the close button.
I don't have time to look at this bug at the moment, unfortunately. I just
thought I'd let you know that I don't think your patch is the actual cause
of the problem.
-James
--
James Hatheway
Software Designer - Macadamian Technologies, Inc.
[EMAIL PROTECTED] ~ http://www.macadamian.com
"Nothing is a problem once you debug the code."