summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-29 15:18:46 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-29 15:18:46 (GMT)
commit565e956cb0915185ad749f8f7933dbe28106fc06 (patch)
treef619135dfa2d6a60915b7345314cd3d6d0730173
parent1bbf6ff00fec957d8f129af8ff8e60e16249b74b (diff)
downloadcpython-565e956cb0915185ad749f8f7933dbe28106fc06.zip
cpython-565e956cb0915185ad749f8f7933dbe28106fc06.tar.gz
cpython-565e956cb0915185ad749f8f7933dbe28106fc06.tar.bz2
Use CountMenuItems() in stead of CountMItems().
-rw-r--r--Mac/Tools/IDE/Wmenus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/Wmenus.py b/Mac/Tools/IDE/Wmenus.py
index 49a1a08..a68b95e 100644
--- a/Mac/Tools/IDE/Wmenus.py
+++ b/Mac/Tools/IDE/Wmenus.py
@@ -238,7 +238,7 @@ def _makefontmenu():
import W
FontMenu.menu = Wapplication.Menu(W.getapplication().menubar, 'Foo', -1)
W.SetCursor('watch')
- for i in range(FontMenu.menu.menu.CountMItems(), 0, -1):
+ for i in range(FontMenu.menu.menu.CountMenuItems(), 0, -1):
FontMenu.menu.menu.DeleteMenuItem(i)
FontMenu.menu.menu.AppendResMenu('FOND')