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:
Robin Dunn 2005-05-13 15:14:00 +00:00
parent 90a752c2ea
commit 443eb93a99
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {