Author: pbartok
Date: 2006-08-27 17:26:34 -0400 (Sun, 27 Aug 2006)
New Revision: 64451

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XEventQueue.cs
Log:
        * XEventQueue.cs: Added PostQuitState property


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-08-27 21:25:23 UTC (rev 64450)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-08-27 21:26:34 UTC (rev 64451)
@@ -2,6 +2,7 @@
 
        * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
          Prevent other threads from exiting when calling thread sets quit 
state.
+       * XEventQueue.cs: Added PostQuitState property
 
 2006-08-27  Chris Toshok  <[EMAIL PROTECTED]>
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XEventQueue.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XEventQueue.cs   
2006-08-27 21:25:23 UTC (rev 64450)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XEventQueue.cs   
2006-08-27 21:26:34 UTC (rev 64451)
@@ -39,6 +39,7 @@
                private PaintQueue      paint;  // Paint-only queue
                internal ArrayList      timer_list;
                private Thread          thread;
+               private bool            quit_posted;
 
                private static readonly int InitialXEventSize = 100;
                private static readonly int InitialLXEventSize = 10;
@@ -50,6 +51,7 @@
                        paint = new PaintQueue(InitialPaintSize);
                        timer_list = new ArrayList ();
                        this.thread = thread;
+                       this.quit_posted = false;
                }
 
                public int Count {
@@ -104,6 +106,16 @@
                        return xqueue.Peek();
                }
 
+               public bool PostQuitState {
+                       get {
+                               return quit_posted;
+                       }
+
+                       set {
+                               quit_posted = value;
+                       }
+               }
+
                public class PaintQueue {
 
                        private ArrayList       hwnds;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to