diff --git a/wintable/new/draw.h b/wintable/new/draw.h index eec49b2..f2f40ea 100644 --- a/wintable/new/draw.h +++ b/wintable/new/draw.h @@ -10,9 +10,6 @@ struct drawCellParams { LRESULT xoff; // result of HDM_GETBITMAPMARGIN }; -//TODO delete when done -static int current = 0; - static void drawCell(struct table *t, HDC dc, struct drawCellParams *p) { RECT r; @@ -67,8 +64,6 @@ static void draw(struct table *t, HDC dc, RECT cliprect, RECT client) prevfont = selectFont(t, dc, &newfont); -current = 0; - client.top += t->headerHeight; ZeroMemory(&p, sizeof (struct drawCellParams));