diff options
author | patthoyts@users.sourceforge.net <patthoyts> | 2010-01-23 01:36:03 (GMT) |
---|---|---|
committer | patthoyts@users.sourceforge.net <patthoyts> | 2010-01-23 01:36:03 (GMT) |
commit | 3308a95adadc68ba81c5f27b0326f23fc69856dc (patch) | |
tree | 8500a7a8b539c7fd4556fc1e9ebfc09d25c5b9f6 /library/msgbox.tcl | |
parent | d37b16e61101ce9f024c3733258700cc9d473f53 (diff) | |
download | tk-3308a95adadc68ba81c5f27b0326f23fc69856dc.zip tk-3308a95adadc68ba81c5f27b0326f23fc69856dc.tar.gz tk-3308a95adadc68ba81c5f27b0326f23fc69856dc.tar.bz2 |
TIP #359: Extended Window Manager Hints support for 8.4
Diffstat (limited to 'library/msgbox.tcl')
-rw-r--r-- | library/msgbox.tcl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/library/msgbox.tcl b/library/msgbox.tcl index 2f8419b..045a433 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.24.2.4 2007/05/30 06:37:03 das Exp $ +# RCS: @(#) $Id: msgbox.tcl,v 1.24.2.5 2010/01/23 01:36:03 patthoyts Exp $ # # Copyright (c) 1994-1997 Sun Microsystems, Inc. # @@ -263,6 +263,8 @@ proc ::tk::MessageBox {args} { if {$windowingsystem eq "classic" || $windowingsystem eq "aqua"} { ::tk::unsupported::MacWindowStyle style $w moveableModal {} + } elseif {$windowingsystem eq "x11"} { + wm attributes $w -type dialog } frame $w.bot -background $bg |