summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/msgbox.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/msgbox.tcl b/library/msgbox.tcl
index c40f753..2c6e476 100644
--- a/library/msgbox.tcl
+++ b/library/msgbox.tcl
@@ -3,7 +3,7 @@
# Implements messageboxes for platforms that do not have native
# messagebox support.
#
-# RCS: @(#) $Id: msgbox.tcl,v 1.16 2002/04/29 13:17:44 bagnonm Exp $
+# RCS: @(#) $Id: msgbox.tcl,v 1.17 2002/06/06 01:09:41 a_kovalenko Exp $
#
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
#
@@ -369,6 +369,8 @@ proc ::tk::MessageBox {args} {
if {[string equal $name $data(-default)]} {
$w.$name configure -default active
+ } else {
+ $w.$name configure -default normal
}
pack $w.$name -in $w.bot -side left -expand 1 -padx 3m -pady 2m