git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34872
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
pathInMenu = m_fileHistory[i];
}
pathInMenu = m_fileHistory[i];
}
+ // we need to quote '&' characters which are used for mnemonics
+ pathInMenu.Replace(_T("&"), _T("&&"));
wxString buf;
buf.Printf(s_MRUEntryFormat, i + 1, pathInMenu.c_str());
wxList::compatibility_iterator node = m_fileMenus.GetFirst();
wxString buf;
buf.Printf(s_MRUEntryFormat, i + 1, pathInMenu.c_str());
wxList::compatibility_iterator node = m_fileMenus.GetFirst();