From beea78b6faa595692094d9f1c75ca2311884771d Mon Sep 17 00:00:00 2001 From: das Date: Fri, 10 Apr 2009 16:45:46 +0000 Subject: * library/msgbox.tcl: don't set msgbox bitmap background on TkAqua. --- ChangeLog | 2 ++ library/msgbox.tcl | 4 ++-- 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 + * 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 -- cgit v0.12