]> git.saurik.com Git - wxWidgets.git/commitdiff
Restore TAB in accelerator string wrong removed by r62791.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 6 Dec 2009 15:31:02 +0000 (15:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 6 Dec 2009 15:31:02 +0000 (15:31 +0000)
See #11512.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/cmdproc.cpp

index 9cd4fdda472d553fde1d590e6b203a80da4480fe..2ab9be0b0d8e0a480b366d4a2b392d4d8d79945e 100644 (file)
@@ -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();