summaryrefslogtreecommitdiffstats
path: root/library/msgbox.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-11-21 16:29:06 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-11-21 16:29:06 (GMT)
commit76a71f6e2940d41ed2da7ef6035676f36d7fed58 (patch)
tree56bc4f90c118934917c644f77d5e8fabcf757f28 /library/msgbox.tcl
parent815c7d7ce6956950ce2a9549e883912698525f8a (diff)
downloadtk-76a71f6e2940d41ed2da7ef6035676f36d7fed58.zip
tk-76a71f6e2940d41ed2da7ef6035676f36d7fed58.tar.gz
tk-76a71f6e2940d41ed2da7ef6035676f36d7fed58.tar.bz2
Improve theming of Unix dialogs
Diffstat (limited to 'library/msgbox.tcl')
-rw-r--r--library/msgbox.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/msgbox.tcl b/library/msgbox.tcl
index 74d2bef..26775b3 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.33 2007/11/02 13:16:38 dkf Exp $
+# RCS: @(#) $Id: msgbox.tcl,v 1.34 2007/11/21 16:29:08 dkf Exp $
#
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
#
@@ -247,7 +247,7 @@ proc ::tk::MessageBox {args} {
}
# There is only one background colour for the whole dialog
- set bg [ttk::style lookup $::ttk::currentTheme -background]
+ set bg [ttk::style lookup . -background]
# 3. Create the top-level window and divide it into top
# and bottom parts.