2007-08-08 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Wed, 8 Aug 2007 17:52:14 +0000 (17:52 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Wed, 8 Aug 2007 17:52:14 +0000 (17:52 -0000)
commit5fe9f11993bce9c1a4b14929a2c5422fb236c634
tree087dfd516b4884d2aace1ffe63be50f5d1a18686
parentd4f1d6f61084e7cc0a5ec6a82ac39ed1a033383b
2007-08-08  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
shot at having it because Alt was pressed.
* MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
the first real menu item.
* ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
a mnemonic if Text is null.
[Fixes bug #82374]

svn path=/trunk/mcs/; revision=83684
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/MenuStrip.cs
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStrip.cs