mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 12:09:51 +00:00
Misc fixes
This commit is contained in:
parent
3f78e7d09c
commit
d1055a598c
@ -70,7 +70,7 @@ static BOOL NSShowAllViews = NO;
|
||||
|
||||
+(NSFocusRingType)defaultFocusRingType {
|
||||
NSUnimplementedMethod();
|
||||
return nil;
|
||||
return 0;
|
||||
}
|
||||
|
||||
-(void)encodeWithCoder:(NSCoder *)coder {
|
||||
@ -2424,10 +2424,11 @@ static NSView *viewBeingPrinted = nil;
|
||||
_animations=dictionary;
|
||||
}
|
||||
|
||||
// Blocks aren't supported by the compiler yet.
|
||||
//-(void)showDefinitionForAttributedString:(NSAttributedString *)string range:(NSRange)range options:(NSDictionary *)options baselineOriginProvider:(NSPoint (^)(NSRange adjustedRange))originProvider {
|
||||
// NSUnimplementedMethod();
|
||||
//}
|
||||
#ifdef __BLOCKS__
|
||||
-(void)showDefinitionForAttributedString:(NSAttributedString *)string range:(NSRange)range options:(NSDictionary *)options baselineOriginProvider:(NSPoint (^)(NSRange adjustedRange))originProvider {
|
||||
NSUnimplementedMethod();
|
||||
}
|
||||
#endif
|
||||
|
||||
-(NSString *)description {
|
||||
return [NSString stringWithFormat:@"<%@[%p] frame: %@>", [self class], self, NSStringFromRect(_frame)];
|
||||
|
Loading…
Reference in New Issue
Block a user