Fix With wxTE_PROCESS_ENTER and wxTE_MULTILINE without skipping

This commit is contained in:
Kvaz1r
2021-08-08 00:23:04 +03:00
parent 51bc8ede7f
commit 656b0b85c6

View File

@@ -4763,7 +4763,8 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
wxCommandEvent event(wxEVT_TEXT_ENTER, GetId());
InitCommandEvent(event);
event.SetString(GetValue());
GetEventHandler()->ProcessEvent(event);
if( GetEventHandler()->ProcessEvent(event) )
return;
}
if ( IsSingleLine() )