Added modalWindow in place of isRunningModalForWindow:

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5028 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 1999-10-18 22:48:30 +00:00
parent cd183ec422
commit 4af7cae6f4

View file

@ -566,12 +566,12 @@ NSApplication *NSApp = nil;
return theSession->runState;
}
- (BOOL) isRunningModalForWindow: (NSWindow *)theWindow
- (NSWindow *) modalWindow
{
if ((session) && (session->window == theWindow))
return YES;
if (session)
return (session->window);
else
return NO;
return nil;
}
- (void) stop: (id)sender