Updates to support services

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3317 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-11-24 15:25:22 +00:00
parent 9ab3c75337
commit d438ecfaed
4 changed files with 1353 additions and 620 deletions

View file

@ -1022,7 +1022,17 @@ NSView *v;
- validRequestorForSendType:(NSString *)sendType
returnType:(NSString *)returnType
{
return nil;
id result = nil;
if (delegate && [delegate respondsToSelector: _cmd])
result = [delegate validRequestorForSendType: sendType
returnType: returnType];
if (result == nil)
result = [[NSApplication sharedApplication]
validRequestorForSendType: sendType
returnType: returnType];
return result;
}
//