Work around wxWidgets CHAR_HOOK issue.

This commit is contained in:
Jeff Young 2023-12-13 13:16:06 +00:00
parent 9d6e9b14eb
commit b9daa073d4
2 changed files with 10 additions and 0 deletions

View File

@ -289,6 +289,11 @@ PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER( SCH_BASE_FRAME* aFrame, wxWindow* aP
}
else
{
// aEvent.Skip() should be sufficient to allow the normal key events to be
// generated (at least according to the wxWidgets documentation). And yet,
// here we are.
aEvent.DoAllowNextEvent();
aEvent.Skip();
}
} );

View File

@ -182,6 +182,11 @@ PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER( PCB_BASE_FRAME* aFrame, wxTopL
}
else
{
// aEvent.Skip() should be sufficient to allow the normal key events to be
// generated (at least according to the wxWidgets documentation). And yet,
// here we are.
aEvent.DoAllowNextEvent();
aEvent.Skip();
}
} );