Don't adjust the keycode for Ctrl-Backspace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
90a752c2ea
commit
443eb93a99
@ -851,7 +851,7 @@ int ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
|
||||
ctrl = evt.ControlDown(),
|
||||
alt = evt.AltDown();
|
||||
|
||||
if (ctrl && key >= 1 && key <= 26)
|
||||
if (ctrl && key >= 1 && key <= 26 && key != WXK_BACK)
|
||||
key += 'A' - 1;
|
||||
|
||||
switch (key) {
|
||||
|
@ -851,7 +851,7 @@ int ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
|
||||
ctrl = evt.ControlDown(),
|
||||
alt = evt.AltDown();
|
||||
|
||||
if (ctrl && key >= 1 && key <= 26)
|
||||
if (ctrl && key >= 1 && key <= 26 && key != WXK_BACK)
|
||||
key += 'A' - 1;
|
||||
|
||||
switch (key) {
|
||||
|
Loading…
Reference in New Issue
Block a user