Jelajahi Sumber

2007-07-31 Jonathan Pobst <[email protected]>

	* TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
	which is internal.

svn path=/trunk/mcs/; revision=83138
Jonathan Pobst 18 tahun lalu
induk
melakukan
db92f8d2c0

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

@@ -1,3 +1,8 @@
+2007-07-31  Jonathan Pobst  <[email protected]>
+
+	* TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
+	which is internal.
+
 2007-07-31  Jonathan Pobst  <[email protected]>
 
 	* ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,

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

@@ -179,7 +179,7 @@ namespace System.Windows.Forms {
 #if NET_2_0
 		internal override Size GetPreferredSizeCore (Size proposedSize)
 		{
-			return new Size (Width, explicit_bounds.Height);
+			return new Size (Width, ExplicitBounds.Height);
 		}
 #endif