X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba7a4bfbbb278a6026cd3b873e36a733d8ccb399..4913272f9cdead94a6d1470e51d6fb14946b50e0:/src/generic/tipdlg.cpp?ds=sidebyside diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 839f75fb2c..e8fbb90d0c 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -228,7 +228,7 @@ wxTipDialog::wxTipDialog(wxWindow *parent, // smart phones does not support or do not waste space for wxButtons #ifndef __SMARTPHONE__ wxButton *btnClose = new wxButton(this, wxID_CLOSE); - SetEscapeId(wxID_CLOSE); + SetAffirmativeId(wxID_CLOSE); #endif m_checkbox = new wxCheckBox(this, wxID_ANY, _("&Show tips at startup"));