Author: jordi
Date: 2005-04-04 10:40:01 -0400 (Mon, 04 Apr 2005)
New Revision: 42526
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs
Log:
2005-04-04 Jordi Mas i Hernandez <[EMAIL PROTECTED]>
* Control.cs: use Equals to compare the font since no == op
* ScrollBar.cs: use Equals to compare the font since no == op
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-04 14:39:38 UTC (rev 42525)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-04 14:40:01 UTC (rev 42526)
@@ -1,3 +1,8 @@
+2005-04-04 Jordi Mas i Hernandez <[EMAIL PROTECTED]>
+
+ * Control.cs: use Equals to compare the font since no == op
+ * ScrollBar.cs: use Equals to compare the font since no == op
+
2005-04-04 Alexander Olk <[EMAIL PROTECTED]>
* SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2005-04-04 14:39:38 UTC (rev 42525)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2005-04-04 14:40:01 UTC (rev 42526)
@@ -1417,7 +1417,7 @@
}
set {
- if (font == value) {
+ if (font.Equals (value)) {
return;
}
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs
2005-04-04 14:39:38 UTC (rev 42525)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ScrollBar.cs
2005-04-04 14:40:01 UTC (rev 42526)
@@ -257,7 +257,7 @@
{
get { return base.Font; }
set {
- if (base.Font == value)
+ if (base.Font.Equals (value))
return;
if (FontChanged != null)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches