From 89fb2e8c6c33fa040138a52df06c56b2cea78131 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 20 Dec 2014 21:10:44 -0500 Subject: toItemContentRect() -> toCellContentRect() (consistency) --- wintable/new/draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wintable/new/draw.h') diff --git a/wintable/new/draw.h b/wintable/new/draw.h index a4bd22d..2834ce7 100644 --- a/wintable/new/draw.h +++ b/wintable/new/draw.h @@ -44,7 +44,7 @@ static void drawCell(struct table *t, HDC dc, struct drawCellParams *p) switch (t->columnTypes[p->column]) { case tableColumnText: case tableColumnImage: // TODO - toItemContentRect(t, &r, p->xoff, 0, 0); // TODO get the text height + toCellContentRect(t, &r, p->xoff, 0, 0); // TODO get the text height if (SetTextColor(dc, GetSysColor(textColor)) == CLR_INVALID) panic("error setting Table cell text color"); if (SetBkMode(dc, TRANSPARENT) == 0) -- cgit v1.2.3