Author: jpobst
Date: 2008-02-04 10:18:54 -0500 (Mon, 04 Feb 2008)
New Revision: 94752
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Hwnd.cs
Log:
2008-02-03 Jonathan Pobst <[EMAIL PROTECTED]>
* Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
[Fixes bug #358342]
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-04 15:17:44 UTC (rev 94751)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-04 15:18:54 UTC (rev 94752)
@@ -1,3 +1,8 @@
+2008-02-03 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
+ [Fixes bug #358342]
+
2008-02-03 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* CurrencyManager.cs: When we get a ListChanged event from our source,
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Hwnd.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Hwnd.cs
2008-02-04 15:17:44 UTC (rev 94751)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Hwnd.cs
2008-02-04 15:18:54 UTC (rev 94752)
@@ -342,7 +342,7 @@
if (menu != null) {
int menu_height = menu.Rect.Height;
if (menu_height == 0)
- menu_height =
ThemeEngine.Current.CalcMenuBarSize (bmp_g, menu, cp.Width);
+ menu_height =
ThemeEngine.Current.CalcMenuBarSize (GraphicsContext, menu, cp.Width);
borders.top += menu_height;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches