* MenuAPI.cs: Do not handle shortcuts if the menu item is disabled.
[Fixes bug #467285]
svn path=/trunk/mcs/; revision=123800
+2009-01-19 Ivan N. Zlatev <contact@i-nz.net>
+
+ * MenuAPI.cs: Do not handle shortcuts if the menu item is disabled.
+ [Fixes bug #467285]
+
2009-01-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MonthCalendar.cs: When handling the selection changes using the
bool ProcessShortcut (Keys keyData)
{
MenuItem item = shortcuts [(int)keyData] as MenuItem;
- if (item == null)
+ if (item == null || !item.Enabled)
return false;
if (active)