2007-06-06 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Wed, 6 Jun 2007 13:44:54 +0000 (13:44 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Wed, 6 Jun 2007 13:44:54 +0000 (13:44 -0000)
commit0a2c5130315e6223898d75c25f5019280319d57b
tree4f9c089f26e4f98dd5e5ab6709f6039d6f14a540
parentd8f019ff69350f992b57f2dd4bc3e59eb8e247e8
2007-06-06  Jonathan Pobst  <monkey@jpobst.com>

* Button.cs: Override GetPreferredSizeCore.
* ButtonBase.cs: PerformLayout after changing properties that can affect
AutoSize.  Simplify some mouse/keyboard code.
* Control.cs: PerformLayout after changing Padding if AutoSize = true.
* MouseEventArgs.cs: Make Location internal for 1.1.
* TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
* Theme.cs: Add CalculateButtonAutoSize.
* ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.

2007-06-06  Jonathan Pobst  <monkey@jpobst.com>

* ButtonBaseTest.cs: Add test for default values.
* ButtonTest.cs: Add test for default values, add test for AutoSize.

2007-06-06  Jonathan Pobst  <monkey@jpobst.com>

* System.Windows.Forms_test.dll.sources: Add ButtonBaseTest.cs.

svn path=/trunk/mcs/; revision=78737
13 files changed:
mcs/class/Managed.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MouseEventArgs.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextRenderer.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms_test.dll.sources
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ButtonBaseTest.cs [new file with mode: 0644]
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ButtonTest.cs
mcs/class/Managed.Windows.Forms/Test/System.Windows.Forms/ChangeLog