Removed message that made impossible to set the level of a window before

displaying it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5226 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Lazaro Saz 1999-11-17 02:37:03 +00:00
parent 5f059afb86
commit 8f09fdff12
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,9 @@
1999-11-17 David Lazaro Saz <khelekir@encomix.es>
* Source/NSWindow.m ([NSWindow -setLevel:]):
Removed orderWindow:RelativeTo: message that made impossible to setup
the window level before displaying the window.
* Source/NSApplication.m ([NSApplication -setMainMenu:]): The window
level for the main menu is set here to NSMainMenuWindowLevel. The old
main menu window level is reverted to NSSubmenuWindowLevel.

View file

@ -732,7 +732,6 @@ static NSMapTable* windowmaps = NULL;
- (void) setLevel: (int)newLevel
{
window_level = newLevel;
[self orderWindow: NSWindowAbove relativeTo: 0];
}
/*