diff options
author | Abhi Beckert <abhi@abhibeckert.com> | 2014-12-02 05:29:03 +1000 |
---|---|---|
committer | Abhi Beckert <abhi@abhibeckert.com> | 2014-12-02 05:29:03 +1000 |
commit | b5e972f4504043dfb9c358e272e93fb59ae2127f (patch) | |
tree | f1a22749a17e6d01cfb928fbbab00f41acf38be4 /Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m | |
parent | 1af7e143385e716b5b0154854dda22a9c270ccad (diff) | |
parent | 00432038fa8a4727322d8eae25c01fad510b899c (diff) | |
download | sequelpro-b5e972f4504043dfb9c358e272e93fb59ae2127f.tar.gz sequelpro-b5e972f4504043dfb9c358e272e93fb59ae2127f.tar.bz2 sequelpro-b5e972f4504043dfb9c358e272e93fb59ae2127f.zip |
Merge pull request #2030 from origsun/master
Remove a private API in PSMTabBarCell
Diffstat (limited to 'Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m')
-rw-r--r-- | Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m b/Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m index 758ebe21..be14707d 100644 --- a/Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m +++ b/Frameworks/PSMTabBar/Styles/PSMAdiumTabStyle.m @@ -757,7 +757,7 @@ [bezier lineToPoint:NSMakePoint(NSMaxX(aRect), NSMaxY(aRect))]; [bezier lineToPoint:NSMakePoint(NSMaxX(aRect), NSMinY(aRect))]; - if ([[cell controlView] frame].size.height < 2) { + if ([[cell customControlView] frame].size.height < 2) { // special case of hidden control; need line across top of cell [bezier moveToPoint:NSMakePoint(aRect.origin.x, aRect.origin.y + 0.5)]; [bezier lineToPoint:NSMakePoint(aRect.origin.x+aRect.size.width, aRect.origin.y + 0.5)]; @@ -854,7 +854,7 @@ [NSGraphicsContext restoreGraphicsState]; [shadow release]; - [self drawInteriorWithTabCell:cell inView:[cell controlView]]; + [self drawInteriorWithTabCell:cell inView:[cell customControlView]]; } - (void)drawBackgroundInRect:(NSRect)rect |