Author: jackson
Date: 2006-08-03 04:10:56 -0400 (Thu, 03 Aug 2006)
New Revision: 63283
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
Log:
Control.cs: Revert previous focus patch, it breaks reflector.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-08-03 07:22:05 UTC (rev 63282)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-08-03 08:10:56 UTC (rev 63283)
@@ -1,5 +1,9 @@
2006-08-03 Jackson Harper <[EMAIL PROTECTED]>
+ * Control.cs: Revert previous focus patch, it breaks reflector.
+
+2006-08-03 Jackson Harper <[EMAIL PROTECTED]>
+
* ComboBox.cs: Cleanup selection and focus with the combobox.
This also eliminates some duplicated keyboard code, since now
everything is handled by the main class.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2006-08-03 07:22:05 UTC (rev 63282)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2006-08-03 08:10:56 UTC (rev 63283)
@@ -2733,7 +2733,7 @@
public bool Focus() {
if (CanFocus && IsHandleCreated && !has_focus) {
- Select (true, true);
+ XplatUI.SetFocus(window.Handle);
}
return has_focus;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches