]> git.saurik.com Git - wxWidgets.git/commitdiff
set wxID_CLOSE as affirmative id, not cancel id, this makes more sense for this dialo...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Aug 2006 10:52:52 +0000 (10:52 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 Aug 2006 10:52:52 +0000 (10:52 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/tipdlg.cpp

index 839f75fb2cee1664317db794cbec90de2c39b215..e8fbb90d0c137a41c123033c64fa4b2007fd840d 100644 (file)
@@ -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"));