* TabControl.cs: Don't set SelectedTabIndex when getting the focus *at
all*.
Fixes #613765.
svn path=/trunk/mcs/; revision=159503
+2010-06-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * TabControl.cs: Don't set SelectedTabIndex when getting the focus *at
+ all*.
+ Fixes #613765.
+
2010-06-24 Dick Porter <dporter@codicesoftware.com>
* Fix NullReferenceException when keyboard shortcut activates
{
switch ((Msg)m.Msg) {
case Msg.WM_SETFOCUS:
- if (selected_index == -1 && this.TabCount > 0)
- this.SelectedIndex = 0;
if (selected_index != -1)
Invalidate(GetTabRect(selected_index));
base.WndProc (ref m);