From: Vadim Zeitlin Date: Sun, 13 Nov 2011 11:51:49 +0000 (+0000) Subject: Added stock accelerator for wxID_PRINT. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d94df7c9ab40027aef26af4dc469a547bb22e262?ds=sidebyside Added stock accelerator for wxID_PRINT. Ctrl+P is a pretty standard accelerator for the "Print" command so add it as a stock one. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/stockitem.cpp b/src/common/stockitem.cpp index 71fdc44dee..fc62ec4276 100644 --- a/src/common/stockitem.cpp +++ b/src/common/stockitem.cpp @@ -298,6 +298,7 @@ wxAcceleratorEntry wxGetStockAccelerator(wxWindowID id) STOCKITEM(wxID_NEW, wxACCEL_CTRL,'N') STOCKITEM(wxID_OPEN, wxACCEL_CTRL,'O') STOCKITEM(wxID_PASTE, wxACCEL_CTRL,'V') + STOCKITEM(wxID_PRINT, wxACCEL_CTRL,'P') STOCKITEM(wxID_REDO, wxACCEL_CTRL | wxACCEL_SHIFT,'Z') STOCKITEM(wxID_REPLACE, wxACCEL_CTRL,'R') STOCKITEM(wxID_SAVE, wxACCEL_CTRL,'S')