Author: jackson
Date: 2007-03-12 00:31:26 -0500 (Mon, 12 Mar 2007)
New Revision: 74097

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: Now that the handles are being created a
        * little
        later, we need to make sure that the document is recalculated
when
        the handle is created.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-12 03:08:23 UTC (rev 74096)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-12 05:31:26 UTC (rev 74097)
@@ -1,3 +1,9 @@
+2007-03-12  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TextBoxBase.cs: Now that the handles are being created a little
+       later, we need to make sure that the document is recalculated when
+       the handle is created.
+
 2007-03-11  Everaldo Canuto  <[EMAIL PROTECTED]>
 
        * Theme.cs: GetLinkFont abstract method added.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2007-03-12 03:08:23 UTC (rev 74096)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs   
2007-03-12 05:31:26 UTC (rev 74097)
@@ -717,6 +717,7 @@
                #region Protected Instance Methods
                protected override void CreateHandle() {
                        base.CreateHandle ();
+                       CalculateDocument();
                        document.AlignCaret();
                        ScrollToCaret();
                }

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

Reply via email to