Author: jpobst
Date: 2008-02-19 16:49:22 -0500 (Tue, 19 Feb 2008)
New Revision: 96196
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
Log:
2008-02-19 Jonathan Pobst <[EMAIL PROTECTED]>
* ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
code paths.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-19 21:46:52 UTC (rev 96195)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-19 21:49:22 UTC (rev 96196)
@@ -1,3 +1,8 @@
+2008-02-19 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
+ code paths.
+
2008-02-19 Ivan N. Zlatev <[EMAIL PROTECTED]>
* PropertyGridView.cs: Fix a big performance bug.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
2008-02-19 21:46:52 UTC (rev 96195)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs
2008-02-19 21:49:22 UTC (rev 96196)
@@ -809,8 +809,6 @@
protected override void CreateHandle ()
{
base.CreateHandle ();
-
- SetBounds (Left, Top, Width, PreferredHeight,
BoundsSpecified.None);
}
#endif
@@ -1096,6 +1094,8 @@
{
base.OnHandleCreated (e);
+ SetBounds (Left, Top, Width, PreferredHeight,
BoundsSpecified.None);
+
if (textbox_ctrl != null)
Controls.AddImplicit (textbox_ctrl);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches