From d94df7c9ab40027aef26af4dc469a547bb22e262 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Nov 2011 11:51:49 +0000 Subject: [PATCH] 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 --- src/common/stockitem.cpp | 1 + 1 file changed, 1 insertion(+) 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') -- 2.45.2