Quick fix for Bug#9827.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@19829 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-08-06 11:17:45 +00:00
parent eb74dd22f3
commit a7e80c4de1
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-08-06 07:20 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/GormMenuEditor.m: Added rightMouseDown: method
to effectively ignore when the right mouse button is
pressed when over a menu that is being edited. This was
causing the problem described in Bug#9827.
2004-08-05 01:36 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/GormNSMenu.m: Added code in the initWithCoder:

View file

@ -156,6 +156,11 @@
return NO;
}
- (void) rightMouseDown: (NSEvent*)theEvent
{
// Do nothing. We want to ignore when the right mouse button is pressed.
}
- (void) mouseDown: (NSEvent*)theEvent
{
NSPoint loc = [theEvent locationInWindow];