Mark Summerfield <[EMAIL PROTECTED]> added the comment:

This bug can be worked around by using the more modern style of menu
creation. If the program that exhibits the bug has its __init__()
replaced as follows it works correctly on both Linux and Windows:

    def __init__(self, parent):
        self.parent = parent
        menu = Menu(self.parent)
        self.parent.config(menu=menu)
        fileMenu = Menu(menu)
        for label, command in (
                ("New...", self.fileNew),
                ("Open...", self.fileOpen),
                ("Quit", self.fileQuit)):
            fileMenu.add_command(label=label, command=command)
        menu.add_cascade(label="File", menu=fileMenu, underline=0)

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2806>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to