bp> So... we have a menu item defined using lines like:-
bp>
bp> EditMenu->Append( IDM_DELETE, "Delete\tDel", "" );
bp>
bp> and
bp>
bp> EVT_MENU( IDM_DELETE, WXED::Menu_Edit_Delete )
bp>
bp> The issue that we're having, though, is that we don't want the Del key to be
bp> overridden always...
In wxMSW you can override wxWindow::MSWTranslateMessage() to prevent this
accelerator from being handled if some condition is true, however we don't
have any portable solution to this problem.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
bp> Is there no way to have a wxMenu item display an accellerator without
bp> actually adding it as a global accellerator? Ie. rather than using
bp> \tDel, I would have some other way of adding the "Del" part and having
bp> it right-justify in the menu item..?
No, there is no way to do it (and IMO it's a good thing, if you could do
this it would be very confusing/misleading for the user).