Author: everaldo
Date: 2007-10-04 03:03:53 -0400 (Thu, 04 Oct 2007)
New Revision: 86848

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs
Log:
In System.Windows.Forms:
2007-10-03  Everaldo Canuto  <[EMAIL PROTECTED]>

        * TextBox.cs: When check enabled uses Enabled property instead of 
is_enabled
        because control can be disabled because owner is disabled.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-04 05:46:45 UTC (rev 86847)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-04 07:03:53 UTC (rev 86848)
@@ -1,3 +1,8 @@
+2007-10-03  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * TextBox.cs: When check enabled uses Enabled property instead of 
is_enabled
+       because control can be disabled because owner is disabled.
+
 2007-10-02  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * ComboBox.cs: For the 1.1 profile, the default SelectedText is

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs   
2007-10-04 05:46:45 UTC (rev 86847)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs   
2007-10-04 07:03:53 UTC (rev 86848)
@@ -2085,7 +2085,7 @@
                                        tag_brush = tag.color;
                                        current_brush = tag_brush;
 
-                                       if (!owner.is_enabled) {
+                                       if (!owner.Enabled) {
                                                Color a = ((SolidBrush) 
tag.color).Color;
                                                Color b = 
ThemeEngine.Current.ColorWindowText;
 

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

Reply via email to