* UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
commitd32f26ab3cef8a54d791b5c10b63896079a97f28
authorChris Toshok <toshok@novell.com>
Thu, 11 Jan 2007 02:00:12 +0000 (11 02:00 -0000)
committerChris Toshok <toshok@novell.com>
Thu, 11 Jan 2007 02:00:12 +0000 (11 02:00 -0000)
tree5328c3a07089fa73cd88910fde423f7057b45696
parentc4de13967b7981865564d71dccb511152efb923b
* UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
It breaks in the face of the new ActiveControl stuff, and should
be unnecessary.

* Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
activecontrol's focus if it's not already set, after we set
ActiveControl, but before we call OnActivated.  Re-fixes #79667
after the previous focus/active control fixes regressed it.

* Control.cs: reindent some code.

2007-01-10  Chris Toshok  <toshok@ximian.com>

svn path=/trunk/mcs/; revision=70827
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/Form.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs