mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 20:27:39 +00:00
Incorporated Benhur Stein's bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2544 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
61e79e2a15
commit
259f94743d
4 changed files with 23 additions and 9 deletions
|
@ -866,6 +866,11 @@ static id NSApp;
|
|||
- (void)setDelegate:anObject
|
||||
{
|
||||
delegate = anObject;
|
||||
|
||||
if ([delegate respondsToSelector:@selector(applicationDidFinishLaunching:)])
|
||||
[[NSNotificationCenter defaultCenter] addObserver:delegate
|
||||
selector:@selector(applicationDidFinishLaunching:)
|
||||
name:NSApplicationDidFinishLaunchingNotification object:self];
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue