Notebook and accelerator keys

Stéphane Larouche wrote:

Robin Dunn <robin <at> alldunn.com> writes:

Stéphane Larouche wrote:

I've just switched from wxPython 2.6.3.2 to wxPython 2.8.1.1 and I'm having
trouble using accelerators when the label of a Notebook page is selected
(that is when the Notebook is in a state where arrows can be used to switch
between pages). I can use accelerators that directly execute a menu item,
but the accelerators that open menus do not work. For example, in the
wxPython demo, ALT-F doesn't open the file menu but ALT-X closes the demo.

The behavior seems to depend on the kind of window used for the notebook
page. For example, in the Notebook demo, the problem occurs for the
ScrolledWindow, Grid and List pages, but not for the other pages.

Have you seen a similar problem? How did you solve it?

Which platform? I can't duplicate this problem.

I am using:

Windows XP Home Edition with SP2
Python 2.5
wxPython 2.8.1.1 ANSI

In addition to my previous description, pressing ALT alone correctly selects the
menubar. So if I sequentially press ALT then F, it works, but if I press both at
the same time, it doesn't.

Does anybody else see this problem?

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!