Commit 6d860514 authored by twanvl's avatar twanvl

don't eat AltGr+key characters (towards fixing #71)

parent 470526ee
...@@ -414,7 +414,11 @@ bool TextValueEditor::onChar(wxKeyEvent& ev) { ...@@ -414,7 +414,11 @@ bool TextValueEditor::onChar(wxKeyEvent& ev) {
// forward to drop down list // forward to drop down list
return drop_down->onCharInParent(ev); return drop_down->onCharInParent(ev);
} }
if (ev.AltDown()) return false; if (ev.AltDown() && isAlpha((Char)ev.GetKeyCode())) {
// this looks like an accelerator
ev.Skip();
return false;
}
fixSelection(); fixSelection();
switch (ev.GetKeyCode()) { switch (ev.GetKeyCode()) {
case WXK_LEFT: case WXK_LEFT:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment