2007-09-10 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Mon, 10 Sep 2007 21:26:58 +0000 (21:26 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Mon, 10 Sep 2007 21:26:58 +0000 (21:26 -0000)
commit105267556a6ce1a1a0472b5d26cc5fa7988db3f2
tree447ea6ca70e35db6a2051bdd9c59b3a14fef562b
parent8ede2a3e2f6c2384735be6b7416215ab02d405cf
2007-09-10  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
who want to add a menu item directly onto a toolstrip.
[Fixes bug #82775, part II]

svn path=/trunk/mcs/; revision=85608
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStripMenuItem.cs