diff options
Diffstat (limited to 'generic/tkTreeItem.c')
-rw-r--r-- | generic/tkTreeItem.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/generic/tkTreeItem.c b/generic/tkTreeItem.c index 454db07..7a26f29 100644 --- a/generic/tkTreeItem.c +++ b/generic/tkTreeItem.c @@ -5,7 +5,7 @@ * * Copyright (c) 2002-2005 Tim Baker * - * RCS: @(#) $Id: tkTreeItem.c,v 1.48 2005/07/12 02:44:31 treectrl Exp $ + * RCS: @(#) $Id: tkTreeItem.c,v 1.49 2005/07/16 18:03:41 treectrl Exp $ */ #include "tkTreeCtrl.h" @@ -1598,7 +1598,8 @@ static void ItemDrawBackground(TreeCtrl *tree, TreeColumn treeColumn, XFillRectangle(tree->display, drawable, gc, x, y, width, height); if (tree->backgroundImage != NULL) { Tree_DrawTiledImage(tree, drawable, tree->backgroundImage, x, y, - x + width, y + height); + x + width, y + height, + tree->drawableXOrigin, tree->drawableYOrigin); } } @@ -2158,6 +2159,11 @@ static int Item_Configure(TreeCtrl *tree, Item *item, int objc, } } + if (mask & ITEM_CONF_SIZE) { + Tree_FreeItemDInfo(tree, (TreeItem) item, NULL); + Tree_DInfoChanged(tree, DINFO_REDO_RANGES); + } + if (mask & ITEM_CONF_BUTTON) Tree_InvalidateItemDInfo(tree, (TreeItem) item, NULL); |