Kaydet (Commit) 565e956c authored tarafından Jack Jansen's avatar Jack Jansen

Use CountMenuItems() in stead of CountMItems().

üst 1bbf6ff0
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment