Menu level fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15971 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-02-16 06:04:03 +00:00
parent e1b342140b
commit 4221f51f1a
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMenu.m: Upon creation of bWindow, set its level to
pop up window level, so right click brings up the menu above
panels etc.
Sun Feb 16 04:13:46 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSplitView.m ([-mouseDown:]): Fixed calling delegate

View file

@ -225,6 +225,7 @@ static NSNotificationCenter *nc;
// Create the windows that will display the menu.
_aWindow = [self _createWindow];
_bWindow = [self _createWindow];
[_bWindow setLevel: NSPopUpMenuWindowLevel];
// Create a NSMenuView to draw our menu items.
_view = [[NSMenuView alloc] initWithFrame: NSMakeRect(0,0,50,50)];