kicad/cvpcb
Jeff Young 77334628c4 Change default tool behaviour to skip unhandled events.
The problem is that wxEVT_CHAR_HOOK doesn’t do the key translation
properly.  wxEVT_CHAR does, but we only get to that if we skip the
event at the end of the tool’s event processing loop, which most tools
don’t do.  (Selection tools, point editors, pickers, and a couple of
others do skip, which is probably why this didn’t get reported earlier.)

I played around with a couple of ways to fix wxEVT_CHAR_HOOK.  Most of
them don’t work, and the few egregious hacks I tried weren't cross-
platform.

So I’m changing it so that most tools now skip at the end of their
event loops.  I left out a couple that I felt were high risk (length
tuning, for instance).  But there’s still enough risk that I’m 100%
sure it will break something, I just haven’t a clue what.

Fixes: lp:1836903
* https://bugs.launchpad.net/kicad/+bug/1836903
2019-07-26 12:21:24 -06:00
..
dialogs Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME. 2019-05-31 21:55:30 +01:00
tools Change default tool behaviour to skip unhandled events. 2019-07-26 12:21:24 -06:00
CMakeLists.txt Immediate actions for PlEditor, PcbNew, etc. 2019-06-25 11:34:28 +01:00
Info.plist.in Set KiCad version in MacOS apps 2019-06-12 04:40:03 -07:00
auto_associate.cpp Cvpcb: rename files: fix names in files and remove a old file not used. 2018-01-28 17:30:36 +01:00
auto_associate.h Cvpcb: rename files: fix names in files and remove a old file not used. 2018-01-28 17:30:36 +01:00
cfg.cpp Cvpcb: rename files: fix names in files and remove a old file not used. 2018-01-28 17:30:36 +01:00
components_listbox.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
cvpcb.cpp Create CvPcb's footprint viewer through Kiway().Player() 2018-07-17 15:13:31 +01:00
cvpcb.h Cvpcb: rename files: fix names in files and remove a old file not used. 2018-01-28 17:30:36 +01:00
cvpcb.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
cvpcb.rc Remove old xpm icons files 2012-04-07 13:09:57 +02:00
cvpcb_doc.icns Update MacOS icons 2018-03-22 11:45:42 -04:00
cvpcb_id.h Move Show3DViewer to common action. 2019-06-02 16:21:44 +01:00
cvpcb_mainframe.cpp Fix OSX button order issue in Unsaved Changes dialog. 2019-06-17 17:01:57 +01:00
cvpcb_mainframe.h Convert 3DViewer to new hotkey architecture. 2019-06-10 23:46:01 +01:00
display_footprints_frame.cpp Immediate actions for PlEditor, PcbNew, etc. 2019-06-25 11:34:28 +01:00
display_footprints_frame.h Sync-ing of menu has been done in CONDITIONAL_MENU for some time now. 2019-06-10 23:46:01 +01:00
footprints_listbox.cpp Fix minor compil warnings. 2018-09-24 13:12:47 +02:00
library_listbox.cpp Turn on library filter when library is selected. 2018-07-17 15:13:55 +01:00
listbox_base.cpp Fix code after renaming files 2018-01-29 16:40:22 +01:00
listboxes.h Select assigned footprint in right panel. 2018-09-22 16:23:13 +01:00
menubar.cpp Partial fix for missing language selection menu. 2019-06-16 20:35:57 +02:00
readwrite_dlgs.cpp Support synchronous messaging over KIWAY EXPRESS. 2019-04-08 13:26:09 +01:00
toolbars_cvpcb.cpp Cvpcb: cosmetic enhancement in toolbar: add a text. 2019-03-19 18:18:19 +01:00