summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXSubwindows.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r--macosx/tkMacOSXSubwindows.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c
index 3dfd308..9ba7100 100644
--- a/macosx/tkMacOSXSubwindows.c
+++ b/macosx/tkMacOSXSubwindows.c
@@ -742,14 +742,6 @@ TkMacOSXUpdateClipRgn(
kWindowResizableAttribute) {
NSWindow *w = TkMacOSXDrawableWindow(winPtr->window);
- if (w) {
- // This call to private API not needed on systems >= 10.7
- // bounds = NSRectToCGRect([w _growBoxRect]);
- // bounds.origin.y = [w contentRectForFrameRect:
- // [w frame]].size.height - bounds.size.height -
- // bounds.origin.y;
- // ChkErr(TkMacOSHIShapeDifferenceWithRect, rgn, &bounds);
- }
}
macWin->aboveVisRgn = HIShapeCreateCopy(rgn);