Author: mkestner
Date: 2006-09-11 12:09:59 -0400 (Mon, 11 Sep 2006)
New Revision: 65239

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

2006-09-11  Mike Kestner  <[EMAIL PROTECTED]>

        * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since 
        the 'specified' logic has been moved there.  This seems like a bug 
        in Control.cs, since our current SetBoundsCore completely ignores 
        the specified parameter.  Peter's commit seems to indicate that is 
        the way the MS control implementation works.  [Fixes #79325]


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-09-11 15:57:48 UTC (rev 65238)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-09-11 16:09:59 UTC (rev 65239)
@@ -1,3 +1,11 @@
+2006-09-11  Mike Kestner  <[EMAIL PROTECTED]>
+
+       * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since 
+       the 'specified' logic has been moved there.  This seems like a bug 
+       in Control.cs, since our current SetBoundsCore completely ignores 
+       the specified parameter.  Peter's commit seems to indicate that is 
+       the way the MS control implementation works.  [Fixes #79325]
+
 2006-09-10  Jonathan Chambers  <[EMAIL PROTECTED]>
 
        * XplatUI.cs: Set default_class_name to be composed

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2006-09-11 15:57:48 UTC (rev 65238)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs      
2006-09-11 16:09:59 UTC (rev 65239)
@@ -1222,7 +1222,7 @@
                void UpdateBounds ()
                {
                        if (requested_height != -1)
-                               SetBoundsCore (0, 0, 0, requested_height, 
BoundsSpecified.Height);
+                               SetBounds (0, 0, 0, requested_height, 
BoundsSpecified.Height);
                }
 
                private void UpdatedItems ()

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

Reply via email to