From: Vadim Zeitlin Date: Wed, 21 Jan 2009 18:51:35 +0000 (+0000) Subject: use standard [Shift-]Ctrl-Z accelerators for wxID_REDO/UNDO X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b8517209f27ef4cbdfa5aa90b874147f3c725f51 use standard [Shift-]Ctrl-Z accelerators for wxID_REDO/UNDO git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index e0947433c1..cd3da09308 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -274,12 +274,14 @@ wxAcceleratorEntry wxGetStockAccelerator(wxWindowID id) STOCKITEM(wxID_COPY, wxACCEL_CTRL,'C') STOCKITEM(wxID_CUT, wxACCEL_CTRL,'X') STOCKITEM(wxID_FIND, wxACCEL_CTRL,'F') - STOCKITEM(wxID_REPLACE, wxACCEL_CTRL,'R') STOCKITEM(wxID_HELP, wxACCEL_CTRL,'H') STOCKITEM(wxID_NEW, wxACCEL_CTRL,'N') STOCKITEM(wxID_OPEN, wxACCEL_CTRL,'O') STOCKITEM(wxID_PASTE, wxACCEL_CTRL,'V') + STOCKITEM(wxID_REDO, wxACCEL_CTRL | wxACCEL_SHIFT,'Z') + STOCKITEM(wxID_REPLACE, wxACCEL_CTRL,'R') STOCKITEM(wxID_SAVE, wxACCEL_CTRL,'S') + STOCKITEM(wxID_UNDO, wxACCEL_CTRL,'Z') default: // set the wxAcceleratorEntry to return into an invalid state: