summaryrefslogtreecommitdiffstats
path: root/library/msgbox.tcl
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-11-21 16:29:06 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-11-21 16:29:06 (GMT)
commit6cfa1ba418caadd61060236b4df1a18fd29cefbb (patch)
tree56bc4f90c118934917c644f77d5e8fabcf757f28 /library/msgbox.tcl
parent9bab3f3c9e8d6dbc10d923a8dc4ff9100b65bc1a (diff)
downloadtk-6cfa1ba418caadd61060236b4df1a18fd29cefbb.zip
tk-6cfa1ba418caadd61060236b4df1a18fd29cefbb.tar.gz
tk-6cfa1ba418caadd61060236b4df1a18fd29cefbb.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.