summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
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