Web pgadmin.org
 Home 
 ·  ·  ·  ·  ·  ·  · 
CVS Commit by dpage: Set the default button to no.

CVS Commit by dpage: Set the default button to no.



Log Message:
-----------
Set the default button to no.

Modified Files:
--------------
    pgadmin3/src/ui:
        frmStatus.cpp (r1.26 -> r1.27)

Index: frmStatus.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/frmStatus.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -Lsrc/ui/frmStatus.cpp -Lsrc/ui/frmStatus.cpp -u -w -r1.26 -r1.27
--- src/ui/frmStatus.cpp
+++ src/ui/frmStatus.cpp
@@ -465,7 +465,7 @@
 
 void frmStatus::OnCancelBtn(wxCommandEvent &event)
 {
-	if (wxMessageBox(_("Are you sure you wish to cancel the selected query(s)?"), _("Cancel query?"), wxYES_NO | wxICON_QUESTION) == wxNO)
+	if (wxMessageBox(_("Are you sure you wish to cancel the selected query(s)?"), _("Cancel query?"), wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION) == wxNO)
 		return;
 
 	long item = -1;
@@ -488,7 +488,7 @@
 
 void frmStatus::OnTerminateBtn(wxCommandEvent &event)
 {
-	if (wxMessageBox(_("Are you sure you wish to terminate the selected server process(es)?"), _("Terminate process?"), wxYES_NO | wxICON_QUESTION) == wxNO)
+	if (wxMessageBox(_("Are you sure you wish to terminate the selected server process(es)?"), _("Terminate process?"), wxYES_NO | wxNO_DEFAULT | wxICON_QUESTION) == wxNO)
 		return;
 
 	long item = -1;


Home | Main Index | Thread Index

top