git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40703
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// smart phones does not support or do not waste space for wxButtons
#ifndef __SMARTPHONE__
wxButton *btnClose = new wxButton(this, wxID_CLOSE);
// 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"));
#endif
m_checkbox = new wxCheckBox(this, wxID_ANY, _("&Show tips at startup"));