Don't hard-code text box background.

This commit is contained in:
David F. Skoll
2010-09-01 12:07:41 -04:00
parent c02cfb9b17
commit 9a15a25a7b

View File

@@ -392,11 +392,7 @@ proc ConfigureCalFrame { w firstDay numDays } {
set first [expr $offset+1]
set last [expr $offset+$numDays]
if {$tk_version >= 8.5} {
set bg "#d9d9d9"
} else {
set bg [lindex [$w.t0 configure -background] 3]
}
set bg [lindex [. configure -background] 3]
for {set i 0} {$i < $first} {incr i} {
grid $w.l$i $w.t$i