Author: jackson
Date: 2006-07-10 16:04:16 -0400 (Mon, 10 Jul 2006)
New Revision: 62403
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
Log:
* TextBoxBase.cs:
* ListBox.cs: Match MS's ToString (this makes debugging focus
stuff infinitely easier).
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-07-10 18:04:48 UTC (rev 62402)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-07-10 20:04:16 UTC (rev 62403)
@@ -1,5 +1,11 @@
2006-07-10 Jackson Harper <[EMAIL PROTECTED]>
+ * TextBoxBase.cs:
+ * ListBox.cs: Match MS's ToString (this makes debugging focus
+ stuff infinitely easier).
+
+2006-07-10 Jackson Harper <[EMAIL PROTECTED]>
+
* Control.cs (SelectNextControl): When checking the control's
parent use this instead of ctrl.parent so that null can be passed
to SelectNextControl. (I have unit tests for this).
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
2006-07-10 18:04:48 UTC (rev 62402)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs
2006-07-10 20:04:16 UTC (rev 62403)
@@ -939,7 +939,7 @@
public override string ToString ()
{
- return base.ToString () + ", Items Count: " +
Items.Count;
+ return base.ToString ();
}
protected virtual void WmReflectCommand (ref Message m)
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
2006-07-10 18:04:48 UTC (rev 62402)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
2006-07-10 20:04:16 UTC (rev 62403)
@@ -682,7 +682,7 @@
}
public override string ToString() {
- return Text;
+ return String.Concat (base.ToString (), ", Text: ",
Text);
}
public void Undo() {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches