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
1 changed files with 0 additions and 1 deletions

View File

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