summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2009-04-10 16:45:46 (GMT)
committerdas <das>2009-04-10 16:45:46 (GMT)
commitbeea78b6faa595692094d9f1c75ca2311884771d (patch)
treeb92a2b0e7ed68ade793507849b01ba7cc9de2f24
parent8b8e6efdf8e3e31832ef9c605b471330b831c3ac (diff)
downloadtk-beea78b6faa595692094d9f1c75ca2311884771d.zip
tk-beea78b6faa595692094d9f1c75ca2311884771d.tar.gz
tk-beea78b6faa595692094d9f1c75ca2311884771d.tar.bz2
* library/msgbox.tcl: don't set msgbox bitmap background on TkAqua.
-rw-r--r--ChangeLog2
-rw-r--r--library/msgbox.tcl4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b8784e..c842b51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-04-10 Daniel Steffen <das@users.sourceforge.net>
+ * library/msgbox.tcl: don't set msgbox bitmap background on TkAqua.
+
* library/demos/filebox.tcl: only show "Motif Style Dialog" checkbutton
on X11 windowingsystem.
diff --git a/library/msgbox.tcl b/library/msgbox.tcl
index 04d26a7..c5aa0a4 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.36 2008/01/31 23:33:42 hobbs Exp $
+# RCS: @(#) $Id: msgbox.tcl,v 1.36.2.1 2009/04/10 16:45:46 das Exp $
#
# Copyright (c) 1994-1997 Sun Microsystems, Inc.
#
@@ -302,7 +302,7 @@ proc ::tk::MessageBox {args} {
if {$windowingsystem eq "aqua"
|| ([winfo depth $w] < 4) || $tk_strictMotif} {
# ttk::label has no -bitmap option
- label $w.bitmap -bitmap $data(-icon) -background $bg
+ label $w.bitmap -bitmap $data(-icon);# -background $bg
} else {
canvas $w.bitmap -width 32 -height 32 -highlightthickness 0 \
-background $bg