X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/810a7d925af4a7aea741e8319d9dddce5947710a..HEAD:/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];