indentation fixes
This commit is contained in:
@@ -756,7 +756,7 @@ int wxFileDialog::ShowModal()
|
||||
m_fileName = wxFileNameFromPath(fileNameBuffer);
|
||||
m_fileNames.Add(m_fileName);
|
||||
m_dir = wxPathOnly(fileNameBuffer);
|
||||
}
|
||||
}
|
||||
|
||||
return wxID_OK;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user