mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Use CountMenuItems() in stead of CountMItems().
This commit is contained in:
parent
1bbf6ff00f
commit
565e956cb0
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue