Parcourir la source

2005-10-11 Jordi Mas i Hernandez <[email protected]>

	* ComboBox.cs: Fixes border drawing


svn path=/trunk/mcs/; revision=51555
Jordi Mas i Hernandez il y a 20 ans
Parent
commit
46a2eaab33

+ 4 - 0
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog

@@ -1,3 +1,7 @@
+2005-10-11  Jordi Mas i Hernandez <[email protected]>
+
+	* ComboBox.cs: Fixes border drawing
+
 2005-10-10  Miguel de Icaza  <[email protected]>
 
 	* MimeIcon.cs: Ignore errors if the file can not be read.

+ 1 - 0
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs

@@ -270,6 +270,7 @@ namespace System.Windows.Forms
 	
 				if (dropdown_style != ComboBoxStyle.DropDownList && textbox_ctrl == null) {
 					textbox_ctrl = new TextBox ();
+					textbox_ctrl.BorderStyle = BorderStyle.None;
 					textbox_ctrl.TextChanged += new EventHandler (OnTextChangedEdit);
 					textbox_ctrl.KeyPress += new KeyPressEventHandler(textbox_ctrl_KeyPress);