DIALOG_SHIM: fix missing aEvent.Skip() in DIALOG_SHIM::onChildSetFocus().

This method was added in commit a914f6e9.
Missing Skip() created issues on Windows (text edit cursor not shown in dialogs)

Fixes https://gitlab.com/kicad/code/kicad/issues/14692

(cherry picked from commit e208685f85)
This commit is contained in:
jean-pierre charras 2023-04-11 10:54:50 +02:00 committed by Alex
parent edc9d38680
commit 3894314ab2
1 changed files with 2 additions and 0 deletions

View File

@ -579,6 +579,8 @@ void DIALOG_SHIM::onChildSetFocus( wxFocusEvent& aEvent )
m_beforeEditValues[ textCtrl ] = textCtrl->GetValue();
else if( wxStyledTextCtrl* scintilla = dynamic_cast<wxStyledTextCtrl*>( aEvent.GetEventObject() ) )
m_beforeEditValues[ scintilla ] = scintilla->GetText();
aEvent.Skip();
}