Changes to revmoe backend menu classes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5062 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 1999-10-23 02:48:20 +00:00
parent 1eca5a6de3
commit 2fe1ff8331
4 changed files with 54 additions and 2 deletions

View file

@ -315,6 +315,10 @@ static NSMapTable* windowmaps = NULL;
DPSgrestore(context);
NSMapInsert (windowmaps, (void*)window_num, self);
/* I'm not sure we even need this if menu_exclude is set correctly */
if ([self level] >= NSDockWindowLevel)
[[NSApplication sharedApplication] removeWindowsItem: self];
NSDebugLog(@"NSWindow end of init\n");
return self;
}