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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index d5ca418..775d4e6 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -75,3 +75,10 @@ void tableAutosizeColumns(HWND hwnd, int nColumns)
if (SendMessageW(hwnd, LVM_SETCOLUMNWIDTH, (WPARAM) i, (LPARAM) LVSCW_AUTOSIZE_USEHEADER) == FALSE)
xpanic("error resizing columns of results list view", GetLastError());
}
+
+void tableSetCheckboxImageList(HWND 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
+}