@@ -504,7 +504,7 @@ + (NSString*)contactSupportToolTip {
504
504
+ (NSButton *)makeButton {
505
505
NSButton * button = [[NSButton alloc ] initWithFrame: NSMakeRect (0 , 0 , 49 , 49 )] ;
506
506
[button setFont: [NSFont systemFontOfSize: 13 ]] ;
507
- [button setBezelStyle: NSRoundedBezelStyle ] ;
507
+ [button setBezelStyle: NSBezelStyleRounded ] ;
508
508
#if !__has_feature(objc_arc)
509
509
[button autorelease ] ;
510
510
#endif
@@ -943,7 +943,7 @@ - (void)setSupportEmail {
943
943
// However, testing shows that we need 38. Oh, well.
944
944
NSRect frame = NSMakeRect (0 , 0 , 38.0 , 38.0 ) ;
945
945
button = [[NSButton alloc ] initWithFrame: frame] ;
946
- [button setBezelStyle: NSRegularSquareBezelStyle ] ;
946
+ [button setBezelStyle: NSBezelStyleRegularSquare ] ;
947
947
[button setTarget: self ] ;
948
948
[button setAction: @selector (support: )] ;
949
949
NSString * imagePath = [[NSBundle mainAppBundle ] pathForResource: @" support"
@@ -1250,7 +1250,7 @@ - (void)setHelpAddress:(NSString*)helpAddress {
1250
1250
it works. It seems there should be an NSHelpButtonSize constant
1251
1251
but I can't find any. */
1252
1252
button = [[NSButton alloc ] initWithFrame: frame] ;
1253
- [button setBezelStyle: NSHelpButtonBezelStyle ] ;
1253
+ [button setBezelStyle: NSBezelStyleHelpButton ] ;
1254
1254
[button setTarget: self ] ;
1255
1255
[button setAction: @selector (help: )] ;
1256
1256
[button setTitle: @" " ] ;
0 commit comments