aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/DMLocalizedNibBundle.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/DMLocalizedNibBundle.m b/Source/DMLocalizedNibBundle.m
index 8b5b389a..247b09a8 100644
--- a/Source/DMLocalizedNibBundle.m
+++ b/Source/DMLocalizedNibBundle.m
@@ -202,7 +202,8 @@ static NSMutableArray *deliciousBindingKeys = nil;
NSTabView *tabView = (NSTabView *)view;
for (NSTabViewItem *tabViewItem in [tabView tabViewItems]) {
[self _localizeLabelOfObject:tabViewItem table:table];
- [self _localizeToolTipOfObject:tabViewItem table:table];
+ if ([tabView respondsToSelector:@selector(toolTip)]) // 10.6+
+ [self _localizeToolTipOfObject:tabViewItem table:table];
[self _localizeStringsInObject:[tabViewItem view] table:table];
}