Don't set the focus on the default button in automation dialogs

This commit is contained in:
Thomas Goyne 2013-05-27 07:42:47 -07:00
parent ad695cf0a5
commit eac4a9f96d

View file

@ -526,7 +526,6 @@ namespace Automation4 {
}); });
if (id == wxID_OK || id == wxID_YES || id == wxID_SAVE) { if (id == wxID_OK || id == wxID_YES || id == wxID_SAVE) {
button->SetFocus();
button->SetDefault(); button->SetDefault();
dialog->SetAffirmativeId(id); dialog->SetAffirmativeId(id);
} }