// ImmediateButton.m
// Project: Rulers
//
// Stephan Wacker
// 93-02-11

//
// An ImmediateButton is a Button object that performs its action immediately
// when the mouse button is pressed, instead of waiting until it is released.
//


#import "ImmediateButton.h"


@implementation ImmediateButton


- mouseDown: (NXEvent *) event
// Make the Button perform its action.
{
    [self performClick: self];
    
    return self;
}


@end
