summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/ZoomHeight.py
diff options
context:
space:
mode:
authorNed Deily <nad@acm.org>2014-03-28 03:47:04 (GMT)
committerNed Deily <nad@acm.org>2014-03-28 03:47:04 (GMT)
commit57847df4e59015c141e645b47112829cf41b582a (patch)
tree957c78b3e8217ee5ab75e5ae488c85dc40d7349c /Lib/idlelib/ZoomHeight.py
parentb693e9fc5bed8c8375e47a2f189931a4faece30f (diff)
downloadcpython-57847df4e59015c141e645b47112829cf41b582a.zip
cpython-57847df4e59015c141e645b47112829cf41b582a.tar.gz
cpython-57847df4e59015c141e645b47112829cf41b582a.tar.bz2
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 e8d1710..a5d679e 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.