Skip to content

Commit

Permalink
2005-03-18 Peter Bartok <pbartok@novell.com>
Browse files Browse the repository at this point in the history
	* MenuAPI.cs: Remove menu *before* executing selected action to
	  prevent the menu from 'hanging around'
	  

svn path=/trunk/mcs/; revision=41997
  • Loading branch information
Peter Dennis Bartok committed Mar 18, 2005
1 parent a38cbc5 commit d305ee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
@@ -1,3 +1,8 @@
2005-03-18 Peter Bartok <pbartok@novell.com>

* MenuAPI.cs: Remove menu *before* executing selected action to
prevent the menu from 'hanging around'

2005-03-17 Geoff Norton <gnorton@customerdna.com>

* XplatUIOSX.cs: Implemented WorkingArea property
Expand Down
Expand Up @@ -912,10 +912,10 @@ private void OnMouseUpPUW (object sender, MouseEventArgs e)
MenuAPI.MENUITEM item = MenuAPI.FindItemByCoords (hMenu, new Point (e.X, e.Y));

if (item != null) {
item.item.PerformClick ();
if (item.item.Enabled) {
HideWindow ();
}
item.item.PerformClick ();
}
}

Expand Down

0 comments on commit d305ee9

Please sign in to comment.