diff options
Diffstat (limited to 'Frameworks/PSMTabBar/Styles/PSMUnifiedTabStyle.m')
-rw-r--r-- | Frameworks/PSMTabBar/Styles/PSMUnifiedTabStyle.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/Styles/PSMUnifiedTabStyle.m b/Frameworks/PSMTabBar/Styles/PSMUnifiedTabStyle.m index dcf99545..882c1741 100644 --- a/Frameworks/PSMTabBar/Styles/PSMUnifiedTabStyle.m +++ b/Frameworks/PSMTabBar/Styles/PSMUnifiedTabStyle.m @@ -312,7 +312,7 @@ { NSRect cellFrame = [cell frame]; - NSToolbar *toolbar = [[[cell controlView] window] toolbar]; + NSToolbar *toolbar = [[[cell customControlView] window] toolbar]; BOOL showsBaselineSeparator = (toolbar && [toolbar respondsToSelector:@selector(showsBaselineSeparator)] && [toolbar showsBaselineSeparator]); if (!showsBaselineSeparator) { cellFrame.origin.y += 1.0; @@ -409,7 +409,7 @@ } } - [self drawInteriorWithTabCell:cell inView:[cell controlView]]; + [self drawInteriorWithTabCell:cell inView:[cell customControlView]]; } |