Author: everaldo
Date: 2007-04-27 12:52:08 -0400 (Fri, 27 Apr 2007)
New Revision: 76393

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MainMenu.cs
Log:
2007-04-27  Everaldo Canuto  <[EMAIL PROTECTED]>

        * MainMenu.cs: In draw method without parameters call draw method with 
        PaintEvent, another one (just rect) adjust rectangle and we dont need it
        as Rect property is already adjusted. Fixes #80694.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-04-27 16:49:44 UTC (rev 76392)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-04-27 16:52:08 UTC (rev 76393)
@@ -1,3 +1,9 @@
+2007-04-27  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * MainMenu.cs: In draw method without parameters call draw method with 
+       PaintEvent, another one (just rect) adjust rectangle and we dont need it
+       as Rect property is already adjusted. Fixes #80694.
+
 2007-04-27  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * Application.cs: Need to handle keyboard menu deselection here.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MainMenu.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MainMenu.cs      
2007-04-27 16:49:44 UTC (rev 76392)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MainMenu.cs      
2007-04-27 16:52:08 UTC (rev 76393)
@@ -101,7 +101,8 @@
 
                internal void Draw () 
                {
-                       Draw (Rect);
+                       PaintEventArgs pe = XplatUI.PaintEventStart 
(Wnd.window.Handle, false);
+                       Draw (pe, Rect);
                }
 
                internal void Draw (Rectangle rect) 

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

Reply via email to