From: Vadim Zeitlin Date: Sun, 6 Dec 2009 15:31:02 +0000 (+0000) Subject: Restore TAB in accelerator string wrong removed by r62791. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3c8b2423bd521e1aca4752b66117dfcf95407866?ds=inline Restore TAB in accelerator string wrong removed by r62791. See #11512. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/cmdproc.cpp b/src/common/cmdproc.cpp index 9cd4fdda47..2ab9be0b0d 100644 --- a/src/common/cmdproc.cpp +++ b/src/common/cmdproc.cpp @@ -60,8 +60,8 @@ wxCommandProcessor::wxCommandProcessor(int maxCommands) #if wxUSE_MENUS m_commandEditMenu = NULL; #endif // wxUSE_MENUS - m_undoAccelerator = wxAcceleratorEntry(wxACCEL_CTRL, 'Z').ToString(); - m_redoAccelerator = wxAcceleratorEntry(wxACCEL_CTRL, 'Y').ToString(); + m_undoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CTRL, 'Z').ToString(); + m_redoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CTRL, 'Y').ToString(); m_lastSavedCommand = m_currentCommand = wxList::compatibility_iterator();