mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
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:
parent
cd183ec422
commit
4af7cae6f4
1 changed files with 4 additions and 4 deletions
|
@ -566,12 +566,12 @@ NSApplication *NSApp = nil;
|
||||||
return theSession->runState;
|
return theSession->runState;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) isRunningModalForWindow: (NSWindow *)theWindow
|
- (NSWindow *) modalWindow
|
||||||
{
|
{
|
||||||
if ((session) && (session->window == theWindow))
|
if (session)
|
||||||
return YES;
|
return (session->window);
|
||||||
else
|
else
|
||||||
return NO;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) stop: (id)sender
|
- (void) stop: (id)sender
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue