Author: jackson
Date: 2006-09-25 16:07:48 -0400 (Mon, 25 Sep 2006)
New Revision: 65891

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
Log:

        * TextBoxBase.cs: When text is set bail if we are setting to the
        previous value.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-09-25 19:38:15 UTC (rev 65890)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-09-25 20:07:48 UTC (rev 65891)
@@ -1,6 +1,8 @@
 2006-09-25  Jackson Harper  <[EMAIL PROTECTED]>
 
        * TextControl.cs: Fix print out in debug method.
+       * TextBoxBase.cs: When text is set bail if we are setting to the
+       previous value.
        
 2006-09-24  Alexander Olk  <[EMAIL PROTECTED]>
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2006-09-25 19:38:15 UTC (rev 65890)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2006-09-25 20:07:48 UTC (rev 65891)
@@ -525,6 +525,9 @@
                                if ((value != null) && (value != "")) {
                                        Line    line;
 
+                                       if (value == Text)
+                                               return;
+
                                        if (multiline) {
                                                string[]        lines;
 

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

Reply via email to