2006-12-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
authorRolf Bjarne Kvinge <RKvinge@novell.com>
Mon, 4 Dec 2006 17:10:17 +0000 (17:10 -0000)
committerRolf Bjarne Kvinge <RKvinge@novell.com>
Mon, 4 Dec 2006 17:10:17 +0000 (17:10 -0000)
commite2b12c45743e93520b1d4c038bcc71ebb0980519
tree005dd6095be2b9ece2e49b2fb8b67a5e0b123c36
parent5e72556488c0ea0d7f005509e32175a956c1aa7b
2006-12-04  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* Form.cs: When a form's MdiParent is set add it directly
on top of the z-order in stead of relying on MdiClient's
ActivateChild to do it. Fixes #80135.

* MdiClient.cs:
- Remove original_order, mdi_child_list is already doing
the same thing.
- Create mdi_child_list on construction in
stead of first use (avoids a few null checks).

* MenuItem.cs: Use an already existing list of mdi children
to get the correct order of children and remove the other
redundant list.

svn path=/trunk/mcs/; revision=68974
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs