Author: everaldo
Date: 2007-10-16 02:36:10 -0400 (Tue, 16 Oct 2007)
New Revision: 87555

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
Log:


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-16 01:41:39 UTC (rev 87554)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-16 06:36:10 UTC (rev 87555)
@@ -1,3 +1,9 @@
+2007-10-15  Everaldo Canuto  <[EMAIL PROTECTED]>
+
+       * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated 
because it
+       is already added.
+       [Fixes bug #333617]
+
 2007-10-15  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * TextControl.cs: When SuspendRecalc is first called, reset the 
recalc_start

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2007-10-16 01:41:39 UTC (rev 87554)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2007-10-16 06:36:10 UTC (rev 87555)
@@ -1088,11 +1088,6 @@
                {
                        base.OnHandleCreated (e);
 
-                       if (listbox_ctrl != null) {
-                               Controls.AddImplicit (listbox_ctrl);
-                               listbox_ctrl.Visible = true;
-                       }
-
                        if (textbox_ctrl != null)
                                Controls.AddImplicit (textbox_ctrl);
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to