]> git.saurik.com Git - wxWidgets.git/commitdiff
using proper cmd constant
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 14 Aug 2011 11:55:36 +0000 (11:55 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 14 Aug 2011 11:55:36 +0000 (11:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/cmdproc.cpp

index 7de08c279063d0ab5ad45ff89b823c2d0b4d5c3b..f59886d0a560ebff65ce2c0515329e1e4c9927a7 100644 (file)
@@ -62,8 +62,8 @@ wxCommandProcessor::wxCommandProcessor(int maxCommands)
 #endif // wxUSE_MENUS
 
 #if wxUSE_ACCEL
-    m_undoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CTRL, 'Z').ToString();
-    m_redoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CTRL, 'Y').ToString();
+    m_undoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CMD, 'Z').ToString();
+    m_redoAccelerator = '\t' + wxAcceleratorEntry(wxACCEL_CMD, 'Y').ToString();
 #endif // wxUSE_ACCEL
 
     m_lastSavedCommand =