diff options
author | Kevin Walzer <kw@codebykevin.com> | 2014-07-25 17:04:07 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2014-07-25 17:04:07 (GMT) |
commit | 42ed9ac756fe0fedb878602d401c858c0117ea22 (patch) | |
tree | 383196bd9a75a5289049ae9ffdac57679a1ed1d0 /macosx/tkMacOSXScrlbr.c | |
parent | cf01a3d41c96d1af1d386e10947da402d4a43767 (diff) | |
download | tk-42ed9ac756fe0fedb878602d401c858c0117ea22.zip tk-42ed9ac756fe0fedb878602d401c858c0117ea22.tar.gz tk-42ed9ac756fe0fedb878602d401c858c0117ea22.tar.bz2 |
Add copyright notice to Marc Culler for extensive patch to alpha rendering on Mac/Cocoa; remove private API calls to comply with platform requirements.
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index 4b3bc31..b8c73bd 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -333,6 +333,8 @@ TkpDisplayScrollbar( NSWindow *w = [view window]; + //This uses a private API call that is no longer needed on systems >= 10.7. + #if 0 if ([w showsResizeIndicator]) { NSRect growBox = [view convertRect:[w _growBoxRect] fromView:nil]; @@ -348,6 +350,7 @@ TkpDisplayScrollbar( TkMacOSXSetScrollbarGrow(winPtr, true); } } + #endif if (!NSEqualRects(frame, [scroller frame])) { [scroller setFrame:frame]; } |