- Fix r37004 which causes problems on X11
authorPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Thu, 9 Dec 2004 16:46:16 +0000 (16:46 -0000)
committerPeter Dennis Bartok <pbartok@mono-cvs.ximian.com>
Thu, 9 Dec 2004 16:46:16 +0000 (16:46 -0000)
svn path=/trunk/mcs/; revision=37496

mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs

index ea8167ae1e00195d64c629d769f5f27d1a298f22..25e1bf093f04122de8a12144d872929d5719f8b9 100644 (file)
@@ -302,7 +302,11 @@ namespace System.Windows.Forms {
                                Application.ThreadException(null, new ThreadExceptionEventArgs(t));
                                return;
                        }
-
+#if !later
+                        else {
+                               XplatUI.HandleException(t);
+                       }
+#else
                        // TODO: Missing implementation
                        //if (SystemInformation.UserInteractive)
                        {
@@ -311,6 +315,7 @@ namespace System.Windows.Forms {
                        }
                        //else
                                Console.WriteLine (t.ToString ());
+#endif
                }
 
                public static void RemoveMessageFilter(IMessageFilter filter) {