Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackson Harper <jackson@novell.com>2006-10-05 08:32:16 +0400
committerJackson Harper <jackson@novell.com>2006-10-05 08:32:16 +0400
commit9f251c4fc352d8f411ee01338c5f4bdc4ec6d781 (patch)
treed6ac7e605fde2b9f5d26c484da1f2eb56835e1ae
parent2334eaa559c64948d4715cd77922ac98e14e77d5 (diff)
* TabControl.cs: We need to invalidate the tab control area when
new ones are added (duh). svn path=/trunk/mcs/; revision=66276
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog5
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
index 87fa99445eb..b60effa24b9 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-05 Jackson Harper <jackson@ximian.com>
+
+ * TabControl.cs: We need to invalidate the tab control area when
+ new ones are added (duh).
+
2006-10-03 Chris Toshok <toshok@ximian.com>
* Form.cs (ProcessDialogKey): if the focused control is in this
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
index 36d496ff2c3..d2db17c2b33 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
@@ -1065,7 +1065,7 @@ namespace System.Windows.Forms {
} else {
// Setting the selected index will calc the tab rows so
// we don't need to do it again
- owner.ResizeTabPages ();
+ owner.Redraw ();
}
}