Remove duplicate condition

wxICON_ERROR == wxICON_HAND
This commit is contained in:
Paul Cornett 2019-02-25 00:44:02 -08:00
parent cd045cc490
commit 90ecc401c0

View File

@ -78,7 +78,7 @@ wxMessageDialog::wxMessageDialog( wxWindow *parent, const wxString& message,
dlg->setIcon( QMessageBox::Warning );
}
if ( style & wxICON_ERROR || style & wxICON_HAND )
if ( style & wxICON_ERROR )
{
numIcons++;
dlg->setIcon( QMessageBox::Critical );