Author: everaldo
Date: 2006-12-04 05:53:16 -0500 (Mon, 04 Dec 2006)
New Revision: 68939
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
2006-11-04 Everaldo Canuto <[EMAIL PROTECTED]>
* ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
include parentesis to fix expression evaluation. Fixes #79634.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-12-04 10:32:46 UTC (rev 68938)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-12-04 10:53:16 UTC (rev 68939)
@@ -1,3 +1,8 @@
+2006-11-04 Everaldo Canuto <[EMAIL PROTECTED]>
+
+ * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
+ include parentesis to fix expression evaluation. Fixes #79634.
+
2006-11-02 Everaldo Canuto <[EMAIL PROTECTED]>
* MenuAPI.cs:
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2006-12-04 10:32:46 UTC (rev 68938)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2006-12-04 10:53:16 UTC (rev 68939)
@@ -2286,7 +2286,7 @@
}
/* Draw arrow */
- if (item.MenuBar == false && item.IsPopup ||
item.MdiList) {
+ if (item.MenuBar == false && (item.IsPopup ||
item.MdiList)) {
int cx = MenuCheckSize.Width;
int cy = MenuCheckSize.Height;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches