#if (GTK_MINOR_VERSION > 0)
m_text << _T('_');
} else
- if (*pc == _T('/'))
+ if (*pc == _T('/')) /* we have to filter out slashes ... */
{
- m_text << _T('\\');
+ m_text << _T('\\'); /* ... and replace them with back slashes */
#endif
}
else
/* only GTK 1.2 know about hot keys */
m_hotKey = _T("");
#if (GTK_MINOR_VERSION > 0)
- pc++;
- m_hotKey = pc;
+ if(*pc == _T('\t'))
+ {
+ pc++;
+ m_hotKey = pc;
+ }
#endif
if (m_menuItem)
entry.accelerator = hotbuf;
break;
}
+ case _T('F'): /* function keys */
+ {
+ strcpy( hotbuf, hotkey.mb_str() );
+ entry.accelerator = hotbuf;
+ break;
+ }
default:
{
}