indentation fixes

This commit is contained in:
Paul Cornett
2015-07-24 21:06:43 -07:00
parent 36e31e515e
commit ab1bf213cf
2 changed files with 4 additions and 4 deletions

View File

@@ -1978,9 +1978,9 @@ void wxTextCtrl::OnChar(wxKeyEvent& event)
InitCommandEvent(evt);
evt.SetString(GetValue());
if ( HandleWindowEvent(evt) )
if ( !HasFlag(wxTE_MULTILINE) )
return;
//else: multiline controls need Enter for themselves
if ( !HasFlag(wxTE_MULTILINE) )
return;
//else: multiline controls need Enter for themselves
}
break;