Adding elements to an existing wx.AcceleratorTable

Is there a command to add on the fly some elements to an existing wx.AcceleratorTable, or do we have to use SetAcceleratorTable with a new table including the old one?
The problem would be that AFAIK there is no funtion accessing the content of the existing accelerator table.

raffaello wrote:

Is there a command to add on the fly some elements to an existing wx.AcceleratorTable, or do we have to use SetAcceleratorTable with a new table including the old one?

Yes. I've wondered about this myself a few times, but it's not too hard to just make a new table so I haven't worried about it very much. There may be some limitation in the native implementations that wouldn't allow it to be updated in place.

The problem would be that AFAIK there is no funtion accessing the content of the existing accelerator table.

Correct.

ยทยทยท

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