diff options
-rw-r--r-- | generic/tkTreeCtrl.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/generic/tkTreeCtrl.c b/generic/tkTreeCtrl.c index 73db0ae..2799e1f 100644 --- a/generic/tkTreeCtrl.c +++ b/generic/tkTreeCtrl.c @@ -7,7 +7,7 @@ * Copyright (c) 2002-2003 Christian Krone * Copyright (c) 2003-2004 ActiveState, a division of Sophos * - * RCS: @(#) $Id: tkTreeCtrl.c,v 1.27 2004/11/29 20:34:40 hobbs2 Exp $ + * RCS: @(#) $Id: tkTreeCtrl.c,v 1.28 2004/11/29 20:39:05 hobbs2 Exp $ */ #include "tkTreeCtrl.h" @@ -17,10 +17,12 @@ * We need to remove that for compiling with 8.4. */ #if (TK_MAJOR_VERSION == 8) && (TK_MINOR_VERSION < 5) -#define TK_PHOTOPUTBLOCK(interp, hdl, blk, x, y, w, cr) \ - Tk_PhotoPutBlock(hdl, blk, x, y, w, cr) -#define TK_PHOTOPUTZOOMEDBLOCK(interp, hdl, blk, x, y, w, zx, zy, sx, sy, cr) \ - Tk_PhotoPutZoomedBlock(hdl, blk, x, y, w, zx, zy, sx, sy, cr) +#define TK_PHOTOPUTBLOCK(interp, hdl, blk, x, y, w, h, cr) \ + Tk_PhotoPutBlock(hdl, blk, x, y, w, h, cr) +#define TK_PHOTOPUTZOOMEDBLOCK(interp, hdl, blk, x, y, w, h, \ + zx, zy, sx, sy, cr) \ + Tk_PhotoPutZoomedBlock(hdl, blk, x, y, w, h, \ + zx, zy, sx, sy, cr) #else #define TK_PHOTOPUTBLOCK Tk_PhotoPutBlock #define TK_PHOTOPUTZOOMEDBLOCK Tk_PhotoPutZoomedBlock |