wxFileHistory and wxTextCtrl keys

Hi Robin,

What I meant by this last part is, in the demo for instance, when you right click the menu pops up and you get:

Open...

1 file.py
2 cartman.py

etc.

If you hit the 'O' key, it'll perform the Open file. But if you hit 1 or 2 on the keyboard it does nothing (clicking with the mouse works). Is there a way to set the numbers in the history to perfrom like the 'O'pen file?

Thanks

···

On Monday 25 August 2003 05:23 pm, Robin Dunn wrote:

Just Rob wrote:
> Hi,

> Also, the entries on the menu are listed by number but hitting the
> number on the keyboard doesn't select the file, as would be expected.

It should generate a EVT_MENU event with ID of wxID_FILEn (n = 0...9)
and I do see them working in the demo here.

Rob Cakebread wrote:

···

On Monday 25 August 2003 05:23 pm, Robin Dunn wrote:

Just Rob wrote:

Hi,

Also, the entries on the menu are listed by number but hitting
the number on the keyboard doesn't select the file, as would be
expected.

It should generate a EVT_MENU event with ID of wxID_FILEn (n =
0...9) and I do see them working in the demo here.

Hi Robin,

What I meant by this last part is, in the demo for instance, when you
right click the menu pops up and you get:

Open...

1 file.py 2 cartman.py

etc.

If you hit the 'O' key, it'll perform the Open file. But if you hit 1
or 2 on the keyboard it does nothing (clicking with the mouse works).
Is there a way to set the numbers in the history to perfrom like the
'O'pen file?

It should be doing it already. Please enter a bug report about this.

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