Fix With wxTE_PROCESS_ENTER and wxTE_MULTILINE without skipping
This commit is contained in:
@@ -4763,7 +4763,8 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
|
|||||||
wxCommandEvent event(wxEVT_TEXT_ENTER, GetId());
|
wxCommandEvent event(wxEVT_TEXT_ENTER, GetId());
|
||||||
InitCommandEvent(event);
|
InitCommandEvent(event);
|
||||||
event.SetString(GetValue());
|
event.SetString(GetValue());
|
||||||
GetEventHandler()->ProcessEvent(event);
|
if( GetEventHandler()->ProcessEvent(event) )
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( IsSingleLine() )
|
if ( IsSingleLine() )
|
||||||
|
Reference in New Issue
Block a user