Commit 503ee825 authored by jean-pierre charras's avatar jean-pierre charras

All: fix bug making IsOK dialog always returns false, regardless the button clicked.

parent b0e2908c
......@@ -110,7 +110,7 @@ bool IsOK( wxWindow* aParent, const wxString& aMessage )
wxMessageDialog dlg( aParent, aMessage, _( "Confirmation" ),
wxYES_NO | wxCENTRE | wxICON_HAND );
return dlg.ShowModal() == wxYES;
return dlg.ShowModal() == wxID_YES;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment