mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:10:38 +00:00
In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16211 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
fbf53689a5
commit
c34f99dcfa
1 changed files with 3 additions and 1 deletions
|
@ -2883,7 +2883,9 @@ Code shared with [NSPanel -sendEvent:], remember to update both places.
|
|||
m = [v menuForEvent: theEvent];
|
||||
if (m)
|
||||
{
|
||||
[m _rightMouseDisplay: theEvent];
|
||||
[NSMenu popUpContextMenu: m
|
||||
withEvent: theEvent
|
||||
forView: v];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue