From: Vadim Zeitlin Date: Tue, 19 Dec 2006 23:36:53 +0000 (+0000) Subject: make the continue button default, not the stop one, to avoid killing the application... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0c677934f85c11f09cc0794dd32b52fe43f170c make the continue button default, not the stop one, to avoid killing the application accidentally if it doesn't run under debugger and Enter is pressed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/assertdlg_gtk.c b/src/gtk/assertdlg_gtk.c index a51e832ebb..36806c1d13 100644 --- a/src/gtk/assertdlg_gtk.c +++ b/src/gtk/assertdlg_gtk.c @@ -375,7 +375,7 @@ void gtk_assert_dialog_init(GtkAssertDialog *dlg) /* add the stop button */ gtk_assert_dialog_add_button (dlg, "_Stop", GTK_STOCK_QUIT, GTK_ASSERT_DIALOG_STOP); - gtk_dialog_set_default_response (GTK_DIALOG (dlg), GTK_ASSERT_DIALOG_STOP); + gtk_dialog_set_default_response (GTK_DIALOG (dlg), GTK_ASSERT_DIALOG_CONTINUE); /* add the continue button */ continuebtn = gtk_assert_dialog_add_button (dlg, "_Continue", GTK_STOCK_YES, GTK_ASSERT_DIALOG_CONTINUE);