http://bugs.winehq.org/show_bug.cgi?id=10213
--- Comment #37 from Thomas Stephenson admin@ubunto-tstephenson.com 2008-06-06 18:16:13 --- (In reply to comment #36)
Created an attachment (id=13535)
--> (http://bugs.winehq.org/attachment.cgi?id=13535) [details]
small test program
I think that patch should be reverted. It's up to the app to decide how it should handle WM_ENDSESSION. The default window procedure should not force the application to quit. For comparison, run this simple program on Windows and Wine.
Does this mean that you have figured out how to fix the problem with Pegasus Mail for Windows closing on sending and/or closing the editor window?