From fe01ebbbcde9f4f058b3967851ccf2f4718710c1 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 25 Aug 2014 11:41:37 -0400 Subject: Dropped checkboxImageList. This is the first of a multi-part commit stream becasue when I tried doing it alll at once the program broke in utterly mysterious ways. --- redo/table_windows.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'redo/table_windows.c') diff --git a/redo/table_windows.c b/redo/table_windows.c index 939845e..be6e23c 100644 --- a/redo/table_windows.c +++ b/redo/table_windows.c @@ -139,6 +139,9 @@ void tableAutosizeColumns(HWND hwnd, int nColumns) void tableSetCheckboxImageList(HWND hwnd) { + HIMAGELIST checkboxImageList; + + checkboxImageList = makeCheckboxImageList(hwnd); if (SendMessageW(hwnd, LVM_SETIMAGELIST, LVSIL_STATE, (LPARAM) checkboxImageList) == (LRESULT) NULL) ;//TODO xpanic("error setting image list", GetLastError()); // TODO free old one here if any/different -- cgit v1.2.3