Author: jackson
Date: 2006-10-05 00:32:16 -0400 (Thu, 05 Oct 2006)
New Revision: 66276

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

        * TabControl.cs: We need to invalidate the tab control area when
        new ones are added (duh).



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-10-05 00:12:40 UTC (rev 66275)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-10-05 04:32:16 UTC (rev 66276)
@@ -1,3 +1,8 @@
+2006-10-05  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TabControl.cs: We need to invalidate the tab control area when
+       new ones are added (duh).
+
 2006-10-03  Chris Toshok  <[EMAIL PROTECTED]>
 
        * Form.cs (ProcessDialogKey): if the focused control is in this

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs    
2006-10-05 00:12:40 UTC (rev 66275)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs    
2006-10-05 04:32:16 UTC (rev 66276)
@@ -1065,7 +1065,7 @@
                                } else {
                                        // Setting the selected index will calc 
the tab rows so
                                        // we don't need to do it again
-                                       owner.ResizeTabPages ();
+                                       owner.Redraw ();
                                }
                        }
 

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

Reply via email to