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:
parent
ca770c79ab
commit
e208685f85
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue