- if ([NSMenuItem respondsToSelector:@selector(setIndentationLevel:)]) {
- [[self itemAtIndex:index] setIndentationLevel:indentLevel];
+ if ([[self itemAtIndex:index] respondsToSelector:@selector(setIndentationLevel:)]) {
+ (void)[[self itemAtIndex:index] setIndentationLevel:indentLevel];