X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/f62f46dfa394f35899b21f2b2cf793e8c651d9bb..11c398c047d4e737a59c70f13de3cde3a788810a:/ITStatusItem.m diff --git a/ITStatusItem.m b/ITStatusItem.m index 0978705..fade99c 100644 --- a/ITStatusItem.m +++ b/ITStatusItem.m @@ -100,14 +100,14 @@ static BOOL _ITStatusItemShouldKillShadow = NO; - (NSImage *)alternateImage { if ([super respondsToSelector:@selector(alternateImage)]) { - return [(id <_ITStatusItemNSStatusItemPantherCompatability>)super alternateImage]; + return [super alternateImage]; } return [(NSButton *)[self _button] alternateImage]; } - (void)setAlternateImage:(NSImage*)image { if ([super respondsToSelector:@selector(setAlternateImage:)]) { - [(id <_ITStatusItemNSStatusItemPantherCompatability>)super setAlternateImage:image]; + [super setAlternateImage:image]; return; } [(NSButton *)[self _button] setAlternateImage:image];