summaryrefslogtreecommitdiffstats
path: root/library/msgbox.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-23 01:36:03 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-23 01:36:03 (GMT)
commit733aa079ae7a00cc9a223dbe7c241d80b375021e (patch)
tree8500a7a8b539c7fd4556fc1e9ebfc09d25c5b9f6 /library/msgbox.tcl
parent8b4e67afad45324f1e560417e3429252383c1263 (diff)
downloadtk-733aa079ae7a00cc9a223dbe7c241d80b375021e.zip
tk-733aa079ae7a00cc9a223dbe7c241d80b375021e.tar.gz
tk-733aa079ae7a00cc9a223dbe7c241d80b375021e.tar.bz2
TIP #359: Extended Window Manager Hints support for 8.4
Diffstat (limited to 'library/msgbox.tcl')
-rw-r--r--library/msgbox.tcl4
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