diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-21 02:09:09 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-21 02:09:09 -0500 |
| commit | 0c216088531dc7a8b400cd93911bd031ff987107 (patch) | |
| tree | 2c59be677fe30302768367ad0c7fcceaca644536 /wintable/new/draw.h | |
| parent | 89fb2e8c6c33fa040138a52df06c56b2cea78131 (diff) | |
Made toCheckboxRect() take the xoff parameter too.
Diffstat (limited to 'wintable/new/draw.h')
| -rw-r--r-- | wintable/new/draw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/new/draw.h b/wintable/new/draw.h index 2834ce7..47e6914 100644 --- a/wintable/new/draw.h +++ b/wintable/new/draw.h @@ -54,7 +54,7 @@ static void drawCell(struct table *t, HDC dc, struct drawCellParams *p) panic("error drawing Table cell text"); break; case tableColumnCheckbox: - toCheckboxRect(t, &r); + toCheckboxRect(t, &r, p->xoff); SetDCBrushColor(dc, RGB(255, 0, 0)); FillRect(dc, &r, GetStockObject(DC_BRUSH)); break; |
