summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-25 11:41:37 -0400
committerPietro Gagliardi <[email protected]>2014-08-25 11:41:37 -0400
commitfe01ebbbcde9f4f058b3967851ccf2f4718710c1 (patch)
treeb0bf65f456caad83431895f121667c6aba7b505f /redo/table_windows.c
parent3b5e8f5e7d12a4273973ae092ccd9129fa202336 (diff)
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.
Diffstat (limited to 'redo/table_windows.c')
-rw-r--r--redo/table_windows.c3
1 files changed, 3 insertions, 0 deletions
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