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:
Nicola Pero 1999-10-18 22:48:30 +00:00
parent cb3cef1dcc
commit 5bff4d3081

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