Author: jpobst
Date: 2007-09-17 11:34:28 -0400 (Mon, 17 Sep 2007)
New Revision: 85892

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripMenuItem.cs
Log:
2007-09-17  Jonathan Pobst  <[EMAIL PROTECTED]>

        * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
        mnemonics can be drawn or undrawn correctly.  Fixes reopened bug 
        #325044.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-09-17 15:22:49 UTC (rev 85891)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-09-17 15:34:28 UTC (rev 85892)
@@ -1,5 +1,11 @@
 2007-09-17  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
+       mnemonics can be drawn or undrawn correctly.  Fixes reopened bug 
+       #325044.
+
+2007-09-17  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * Control.cs: Do WM_CONTEXTMENU before OnMouseUp.  [Fixes bug #325535]
 
 2007-09-14  Carlos Alberto Cortez <[EMAIL PROTECTED]>

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripMenuItem.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripMenuItem.cs 
    2007-09-17 15:22:49 UTC (rev 85891)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripMenuItem.cs 
    2007-09-17 15:34:28 UTC (rev 85892)
@@ -477,6 +477,9 @@
                internal override void HandleClick (EventArgs e)
                {
                        this.OnClick (e);
+                       
+                       if (Parent != null)
+                               Parent.Invalidate ();
                }
                #endregion
 

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

Reply via email to