{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[mKeyName release];
- [mTitleFormat release];
[super dealloc];
}
- (void)windowDidLoad
{
- mTitleFormat = [[mTitleField stringValue] retain];
-
[[NSNotificationCenter defaultCenter]
addObserver: self
selector: @selector( noteKeyBroadcast: )
[mComboField setStringValue: [mKeyCombo description]];
if( mTitleField )
- [mTitleField setStringValue: [NSString stringWithFormat: mTitleFormat, mKeyName]];
+ [mTitleField setStringValue:mKeyName];
}
- (int)runModal