/* BBSwapWindow.m				 
 *
 * This our special window obejct. The only thing it does is to trigger a 
 * inital swap for the swpaByMatrix view.
 *
 * For interface-info see the header file. The comments in this file mostly
 * cover only the real implementation details.
 *
 * Written by: 		Thomas Engel
 * Created:    		27.12.1994 (Copyleft)
 * Last modified: 	27.12.1994
 */

#import "BBSwapWindow.h"

@implementation BBSwapWindow

- makeKeyAndOrderFront:sender
{
	if( [triggerSource respondsTo:@selector(selectedCell)] )
			[swapView swapContentView:[triggerSource selectedCell]];
	else	[swapView swapContentView:triggerSource];
	
	return [super makeKeyAndOrderFront:sender];
}

@end

/*
 * History: 27.12.94 First testShoud just work.
 *
 *
 * Bugs: - No.
 */