[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 2892d588 6/8: Add extra accelerators with "+"
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 2892d588 6/8: Add extra accelerators with "+" and "-" keys synonyms |
Date: |
Thu, 30 Jun 2022 11:14:15 -0400 (EDT) |
branch: master
commit 2892d588ab40ea968e195f1433f9cfcaf1286e71
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Add extra accelerators with "+" and "-" keys synonyms
Allow using the keys on the main part of the keyboard with or without
Shift (which might seem to be required, as "+" requires it in the
standard US keyboard layout, but actually isn't, and never was) as well
as their equivalents on numeric pad.
Note that these accelerators are not shown in the menu, as this would
make them too crowded, but still work using "extra" accelerators support
in wxWidgets 3.1.6+.
---
menus.xrc | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/menus.xrc b/menus.xrc
index bef2b515..b330c32b 100644
--- a/menus.xrc
+++ b/menus.xrc
@@ -386,11 +386,19 @@
</object>
<object class="wxMenuItem" name="add_cell">
<label>_Add cell\tCtrl-+</label>
+ <extra-accels>
+ <accel>Shift-Ctrl-+</accel>
+ <accel>Ctrl-Num-+</accel>
+ </extra-accels>
<bitmap platform="win" stock_id="insert-rows"/>
<help>Add a new cell with case default parameters</help>
</object>
<object class="wxMenuItem" name="delete_cells">
<label>_Delete cell(s)\tCtrl--</label>
+ <extra-accels>
+ <accel>Shift-Ctrl--</accel>
+ <accel>Ctrl-Num--</accel>
+ </extra-accels>
<bitmap platform="win" stock_id="delete-row"/>
<help>Delete selected cell(s)</help>
</object>
- [lmi-commits] [lmi] master updated (0cafa323 -> 61ff010d), Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 4099c2f8 2/8: Update wxPdfDoc to the latest version compatible with wx 3.2.0, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 36b2e546 3/8: Revert "Work around a wxPdfDoc regression", Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master cd8433ad 4/8: Enable per-monitor DPI awareness for lmi, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master d98ebe29 1/8: Update wxWidgets to v3.2.0 pre-release, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 2892d588 6/8: Add extra accelerators with "+" and "-" keys synonyms,
Greg Chicares <=
- [lmi-commits] [lmi] master 61ff010d 8/8: Update xmlwrapp to the latest pre-0.9.2 version, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 2fab3ef3 5/8: Remove workaround for WX bug fixed a long time ago, Greg Chicares, 2022/06/30
- [lmi-commits] [lmi] master 8563dcab 7/8: Change icon_monger to return wxBitmapBundle rather than wxBitmap, Greg Chicares, 2022/06/30