Work around wxWidgets CHAR_HOOK issue.
This commit is contained in:
parent
9d6e9b14eb
commit
b9daa073d4
|
@ -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();
|
||||
}
|
||||
} );
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Reference in New Issue