2008-11-20 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Thu, 20 Nov 2008 20:26:22 +0000 (20:26 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Thu, 20 Nov 2008 20:26:22 +0000 (20:26 -0000)
* TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
Having something internal abstract isn't very nice for people who want
to inherit from this class.

svn path=/trunk/mcs/; revision=119502

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs

index 460e5b5551c5f5cc8b9f97c365305b490f88120d..436afd1c46b3cf3ca9a52979876db3964cb747a7 100644 (file)
@@ -1,3 +1,9 @@
+2008-11-20  Jonathan Pobst  <monkey@jpobst.com>
+
+       * TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
+       Having something internal abstract isn't very nice for people who want
+       to inherit from this class.
+
 2008-11-20  Jonathan Pobst  <monkey@jpobst.com>
 
        * ToolStripItem.cs: Don't crash if ImageIndex or ImageKey is set to an
index 3335fe0d3b2cc9ece9eab63f7a0232c974091c12..a4e145e8e43494f1c904f8516c3234120371ae9f 100644 (file)
@@ -2467,7 +2467,10 @@ namespace System.Windows.Forms
                        return true;
                }
 
-               internal abstract Color ChangeBackColor (Color backColor);
+               internal virtual Color ChangeBackColor (Color backColor)
+               {
+                       return backColor;
+               }
 
                internal override bool IsInputCharInternal (char charCode)
                {