-//
-// wxWindows' default shortcut identifier is WIN32's "&" but
-// OS2's is "~" so we have to change this and must watch for the
-// sequence, "&&" converting only the first one
-//
-void wxSetShortCutKey(
- wxChar* zText
-)
-{
- for (int i = 0; zText[i] != '\0'; i++)
- {
- if (zText[i] == '&')
- {
- zText[i] = '~';
- if (zText[i+1] == '&')
- i++;
- }
- }
-}