Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=78271

--- shadow/78271        2006-05-05 18:50:13.000000000 -0400
+++ shadow/78271.tmp.23472      2006-05-18 11:39:55.000000000 -0400
@@ -38,6 +38,28 @@
 Will provide test case.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2006-05-02 18:09 -------
 Created an attachment (id=16900)
 Test Case
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-05-18 11:39 -------
+I have an easy fix for this problem. However, I am not sure that it
+does not cause other z-ordering problem. I guess that Control should
+have another implicit control list for both prepended and appended ones.
+
+Index: System.Windows.Forms/Control.cs
+===================================================================
+--- System.Windows.Forms/Control.cs    (revision 60816)
++++ System.Windows.Forms/Control.cs    (working copy)
+@@ -490,8 +490,8 @@
+                                       return (Control []) list.ToArray 
(typeof (Control));
+                               
+                               Control [] res = new Control [list.Count + 
impl_list.Count];
+-                              impl_list.CopyTo (res);
+-                              list.CopyTo (res, impl_list.Count);
++                              list.CopyTo (res);
++                              impl_list.CopyTo (res, list.Count);
+ 
+                               return res;
+                       }
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to