summaryrefslogtreecommitdiffstats
path: root/demos/bitmaps.tcl
diff options
context:
space:
mode:
authortreectrl <treectrl>2006-11-05 06:44:53 (GMT)
committertreectrl <treectrl>2006-11-05 06:44:53 (GMT)
commitdbb872605b6aea9aa294582fcc5131265f9920c8 (patch)
tree0a960e6b207cde39f761b658e40fa1cb5f8697a5 /demos/bitmaps.tcl
parent0f8dbde0ed9c305a20378439c9f4358728bd6d92 (diff)
downloadtktreectrl-dbb872605b6aea9aa294582fcc5131265f9920c8.zip
tktreectrl-dbb872605b6aea9aa294582fcc5131265f9920c8.tar.gz
tktreectrl-dbb872605b6aea9aa294582fcc5131265f9920c8.tar.bz2
Replaced use of deprecated treectrl option -defaultstyle with new column option -itemstyle.
Diffstat (limited to 'demos/bitmaps.tcl')
-rw-r--r--demos/bitmaps.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/bitmaps.tcl b/demos/bitmaps.tcl
index 8544ee6..f8f1843 100644
--- a/demos/bitmaps.tcl
+++ b/demos/bitmaps.tcl
@@ -1,4 +1,4 @@
-# RCS: @(#) $Id: bitmaps.tcl,v 1.8 2006/10/04 03:57:31 treectrl Exp $
+# RCS: @(#) $Id: bitmaps.tcl,v 1.9 2006/11/05 06:44:53 treectrl Exp $
#
# Demo: Bitmaps
@@ -48,7 +48,7 @@ proc DemoBitmaps {} {
$T style layout $S elemTxt -expand we
# Set default item style
- $T configure -defaultstyle [list $S]
+ $T column configure C0 -itemstyle $S
#
# Create items and assign styles