}
- (void)indentItemAtIndex:(int)index toLevel:(int)indentLevel {
- if ([NSMenuItem respondsToSelector:@selector(setIndentationLevel:)]) {
+ if ([[self itemAtIndex:index] respondsToSelector:@selector(setIndentationLevel:)]) {
[[self itemAtIndex:index] setIndentationLevel:indentLevel];
} else {
MenuRef carbonMenu = [self menuRef];