* 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.
svn path=/trunk/mcs/; revision=76393
+2007-04-27 Everaldo Canuto <everaldo@simios.org>
+
+ * 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 <monkey@jpobst.com>
* Application.cs: Need to handle keyboard menu deselection here.
internal void Draw ()
{
- Draw (Rect);
+ PaintEventArgs pe = XplatUI.PaintEventStart (Wnd.window.Handle, false);
+ Draw (pe, Rect);
}
internal void Draw (Rectangle rect)