Hi,

You are setting your menu label to something like.

"&Save\tStrg+S"

but using Wx::AcceleratorTable to create the shortcuts.

Then all you need to do is:

"&Save\tStrg + S"

The spaces between Strg and S will prevent wxWidgets from interpreting that has 
a shortcut key but your menu will still look correct.

Regards

Mark
herbert breunung wrote:
hello dear list member,
i ran int to a major problem. as you may know write a larger app in wxperl,
the text editor kephra. One feature he provides are localised shortcut strings in the menu. in german we say strg instead of ctrl becaus thats whats printed
on our keybears and i wanted that it is written in the menu that way too.

the new wxwigets tries to ease your work and automakes keybindings for all
menu items you create. but while it doesnt know what strg is, my app does a
file save when you hit the letter S which is very much annoying. do anybody know
a way to stop wx making that?

thank you very much.
herbert


Reply via email to