2002-06-24 21:20:55 +00:00
|
|
|
#import "BrowserWindow.h"
|
2002-07-16 22:55:36 +00:00
|
|
|
#import "BrowserWindowController.h"
|
2002-06-24 21:20:55 +00:00
|
|
|
|
|
|
|
@implementation BrowserWindow
|
|
|
|
|
2002-07-16 22:55:36 +00:00
|
|
|
- (BOOL)makeFirstResponder:(NSResponder*)responder
|
|
|
|
{
|
|
|
|
NSResponder* oldResponder = [self firstResponder];
|
|
|
|
BOOL madeFirstResponder = [super makeFirstResponder:responder];
|
|
|
|
if (madeFirstResponder && oldResponder != [self firstResponder])
|
|
|
|
[(BrowserWindowController*)[self delegate] focusChangedFrom:oldResponder to:[self firstResponder]];
|
|
|
|
return madeFirstResponder;
|
|
|
|
}
|
|
|
|
|
2002-06-24 21:20:55 +00:00
|
|
|
@end
|