mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Implemented [rightMouseDown:] with code from NSResponder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10767 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eae31362e1
commit
7c88e9d626
1 changed files with 9 additions and 0 deletions
|
@ -1741,6 +1741,15 @@ IF_NO_GC(NSAssert([event retainCount] > 0, NSInternalInconsistencyException));
|
|||
}
|
||||
}
|
||||
|
||||
- (void) rightMouseDown: (NSEvent*)theEvent
|
||||
{
|
||||
// On right mouse down display the main menu transient
|
||||
if (_main_menu != nil)
|
||||
[_main_menu _rightMouseDisplay: theEvent];
|
||||
else
|
||||
[super rightMouseDown: theEvent];
|
||||
}
|
||||
|
||||
- (void) setAppleMenu: (NSMenu*)aMenu
|
||||
{
|
||||
//TODO: Unclear, what this should do.
|
||||
|
|
Loading…
Reference in a new issue