Fix endianness assumptions. For x86 port.
[MacTF.git] / AOSegmentedControl.m
blobafaeea49056970c53a002c5489174de4dcb2f01f
1 //
2 //  AOSegmentedControl.m
3 //  MacTF
4 //
5 //  Created by Nathan Oates on 30/01/06.
6 //  Copyright 2006 __MyCompanyName__. All rights reserved.
7 //
9 #import "AOSegmentedControl.h"
12 @interface NSSegmentedCell ( PrivateMethod )
13 //- (void)_setSegmentedCellStyle:(int)style;
14 @end
16 @implementation AOSegmentedControl
18 - (void)awakeFromNib
20     [self setFrameSize:NSMakeSize([self frame].size.width, 26)];
23 - (NSCell *)cell
25     NSSegmentedCell *cell = [super cell];
26  //   [cell _setSegmentedCellStyle:FlatSegmentedCellStyle];
27     return cell;
30 @end