summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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