Don't hardcode the string representation of the accelerators, it was
inconsistent with the rest of wxWidgets which used '-' while here a '+' was
used.
Closes #11512.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62791
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/intl.h"
#include "wx/string.h"
#include "wx/menu.h"
+ #include "wx/accel.h"
#endif //WX_PRECOMP
#include "wx/cmdproc.h"
#if wxUSE_MENUS
m_commandEditMenu = NULL;
#endif // wxUSE_MENUS
- m_undoAccelerator = wxT("\tCtrl+Z");
- m_redoAccelerator = wxT("\tCtrl+Y");
+ m_undoAccelerator = wxAcceleratorEntry(wxACCEL_CTRL, 'Z').ToString();
+ m_redoAccelerator = wxAcceleratorEntry(wxACCEL_CTRL, 'Y').ToString();
m_lastSavedCommand =
m_currentCommand = wxList::compatibility_iterator();