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)
This commit is contained in:
jean-pierre charras 2023-04-11 10:54:50 +02:00
parent ca770c79ab
commit e208685f85
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(); m_beforeEditValues[ textCtrl ] = textCtrl->GetValue();
else if( wxStyledTextCtrl* scintilla = dynamic_cast<wxStyledTextCtrl*>( aEvent.GetEventObject() ) ) else if( wxStyledTextCtrl* scintilla = dynamic_cast<wxStyledTextCtrl*>( aEvent.GetEventObject() ) )
m_beforeEditValues[ scintilla ] = scintilla->GetText(); m_beforeEditValues[ scintilla ] = scintilla->GetText();
aEvent.Skip();
} }