Author: pbartok
Date: 2006-05-25 11:48:16 -0400 (Thu, 25 May 2006)
New Revision: 61112
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
Log:
2006-05-25 Peter Dennis Bartok <[EMAIL PROTECTED]>
* Application.cs: Leave runloop if the the main modal form is
hidden (fixes #78484)
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
2006-05-25 15:38:34 UTC (rev 61111)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
2006-05-25 15:48:16 UTC (rev 61112)
@@ -496,7 +496,7 @@
}
// Handle exit, Form might have received
WM_CLOSE and set 'closing' in response
- if ((context.MainForm != null) &&
context.MainForm.closing) {
+ if ((context.MainForm != null) &&
(context.MainForm.closing || (Modal && !context.MainForm.Visible))) {
if (!Modal) {
XplatUI.PostQuitMessage(0);
} else {
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-05-25 15:38:34 UTC (rev 61111)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-05-25 15:48:16 UTC (rev 61112)
@@ -1,3 +1,8 @@
+2006-05-25 Peter Dennis Bartok <[EMAIL PROTECTED]>
+
+ * Application.cs: Leave runloop if the the main modal form is
+ hidden (fixes #78484)
+
2006-05-25 Atsushi Enomoto <[EMAIL PROTECTED]>
* BindingContext.cs : reject null datasource in Contains() and
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches