14#import <Foundation/Foundation.h>
19- (id)initWithFrame:(NSRect)frame {
20 self = [
super initWithFrame:frame];
22 [
self setBezelStyle:NSRoundedBezelStyle];
23 [
self setButtonType:NSSwitchButton];
32-(void) computeMinWidth {
33 NSSize size = [
self neededTextSize];
44#pragma mark Protocoll Methods