Author: andreia
Date: 2006-10-31 13:19:41 -0500 (Tue, 31 Oct 2006)
New Revision: 67183
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs
Log:
* ContainerControl.cs: reversed Contains check from
ActiveControl due to hanging problems. This fix
partly regresses #79667 (button does not have
initial focus), so this might be a symptom for
a larger parenting problem (set_ActiveControl
is being called but the child control does
not have the parent set yet?)
2006-10-31 Andreia Gaita <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-10-31 18:17:47 UTC (rev 67182)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-10-31 18:19:41 UTC (rev 67183)
@@ -1,3 +1,13 @@
+2006-10-31 Andreia Gaita <[EMAIL PROTECTED]>
+
+ * ContainerControl.cs: reversed Contains check from
+ ActiveControl due to hanging problems. This fix
+ partly regresses #79667 (button does not have
+ initial focus), so this might be a symptom for
+ a larger parenting problem (set_ActiveControl
+ is being called but the child control does
+ not have the parent set yet?)
+
2006-10-31 Mike Kestner <[EMAIL PROTECTED]>
* MenuAPI.cs : fix keynav when menu is click activated.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs
2006-10-31 18:17:47 UTC (rev 67182)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ContainerControl.cs
2006-10-31 18:19:41 UTC (rev 67183)
@@ -68,7 +68,7 @@
}
set {
- if (value==null || (active_control == value &&
active_control.has_focus) || !Contains(value)) {
+ if (value==null || (active_control == value &&
active_control.has_focus) /*|| !Contains(value)*/) {
return;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches