]> git.saurik.com Git - wxWidgets.git/commitdiff
Added stock accelerator for wxID_PRINT.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Nov 2011 11:51:49 +0000 (11:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 13 Nov 2011 11:51:49 +0000 (11:51 +0000)
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

index 71fdc44deee15f2d437c88f7e190a23167f262f7..fc62ec4276450cce5d90c3724471d8963b50ef43 100644 (file)
@@ -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')