git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44904
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// strip mnemonics from the label for compatibility
// with the usual labels in wxStaticText sense
{
// strip mnemonics from the label for compatibility
// with the usual labels in wxStaticText sense
- label = wxStaticText(label);
+ label = wxStripMenuCodes(label);
HIToolbarItemSetLabel(item,
wxMacCFStringHolder(label, m_font.GetEncoding()));
HIToolbarItemSetLabel(item,
wxMacCFStringHolder(label, m_font.GetEncoding()));