mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16210 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4e159c6bda
commit
a28e9901bb
1 changed files with 3 additions and 1 deletions
|
@ -1982,7 +1982,9 @@ image.
|
|||
{
|
||||
// On right mouse down display the main menu transient
|
||||
if (_main_menu != nil)
|
||||
[_main_menu _rightMouseDisplay: theEvent];
|
||||
[NSMenu popUpContextMenu: _main_menu
|
||||
withEvent: theEvent
|
||||
forView: nil];
|
||||
else
|
||||
[super rightMouseDown: theEvent];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue