Remove duplicate condition
wxICON_ERROR == wxICON_HAND
This commit is contained in:
parent
cd045cc490
commit
90ecc401c0
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user