summaryrefslogtreecommitdiff
path: root/Lib/idlelib/ZoomHeight.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-03-27 20:49:14 -0700
committerNed Deily <nad@acm.org>2014-03-27 20:49:14 -0700
commitb7601676b07c7c8e79af9e7818a783b966612c34 (patch)
tree7a3d48649890a9901747b98df2a9ed13ac13d2db /Lib/idlelib/ZoomHeight.py
parente7d532fbc9c13e00b1e5c6c0db2dba31d1212de7 (diff)
downloadcpython-git-b7601676b07c7c8e79af9e7818a783b966612c34.tar.gz
Issue #17654: Ensure IDLE menus are customized properly on OS X for
non-framework builds and for all variants of Tk.
Diffstat (limited to 'Lib/idlelib/ZoomHeight.py')
-rw-r--r--Lib/idlelib/ZoomHeight.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/ZoomHeight.py b/Lib/idlelib/ZoomHeight.py
index e8d1710751..a5d679e499 100644
--- a/Lib/idlelib/ZoomHeight.py
+++ b/Lib/idlelib/ZoomHeight.py
@@ -32,7 +32,7 @@ def zoom_height(top):
newy = 0
newheight = newheight - 72
- elif macosxSupport.runningAsOSXApp():
+ elif macosxSupport.isAquaTk():
# The '88' below is a magic number that avoids placing the bottom
# of the window below the panel on my machine. I don't know how
# to calculate the correct value for this with tkinter.