bitmap and accelerator in menu item?

Hi.

Is it possible to have both a bitmap and an accelerator for a menu item?

I've tried and failed.

Essentially, I'm doing the following:

  menuItem = wxMenuItem(menu, id, text, tip)
  menuItem.SetBitmap(bitmap)
  menu.AppendItem(menuItem)

Where the text may be something like, "New\tCtrl+N".

However, I only see the bitmap and "New" text. The accelerator will
not display unless I comment out the "SetBitmap".

I'd like to have the best of both worlds.

Is it possible? And, if so, how?

Ta.

David.

Hi.

Is it possible to have both a bitmap and an accelerator for a menu item?

I've tried and failed.
[...]
Is it possible? And, if so, how?

If you are experiencing this on GTK, I've submitted a patch for it some
months ago. You can find it at:
http://sourceforge.net/tracker/index.php?func=detail&aid=626048&group_id=9863&atid=309863
It's for wxGTK 2.3.something, but it shouldn't be that hard to make it work on
2.4.0

Alberto