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

@@ -756,7 +756,7 @@ int wxFileDialog::ShowModal()
m_fileName = wxFileNameFromPath(fileNameBuffer);
m_fileNames.Add(m_fileName);
m_dir = wxPathOnly(fileNameBuffer);
}
}
return wxID_OK;

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;