summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-13 15:19:18 -0400
committerPietro Gagliardi <[email protected]>2014-08-13 15:19:18 -0400
commit1c5f09d49e034000ffb9a845a6f19c8db6507b75 (patch)
tree9738fc5ddd4b79d7b731efa57382ec3a85465a13
parent79c97996b3ad381067dacfae53348fbca93139a4 (diff)
Removed TODO about using LVITEM memory for Tables on Windows. I would still need to do a UTF-16 conversion on the Go side, and it seems I can't do that to an already-available buffer (it can only be done to a freshly-allocated one). Not even with unicode/utf16.
-rw-r--r--redo/table_windows.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index 5d24164..a005600 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -15,7 +15,6 @@ static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
case msgNOTIFY:
switch (nmhdr->code) {
case LVN_GETDISPINFO:
- /* TODO we could probably copy into the buffer provided by the list view control instead... see LVITEM's docs */
tableGetCellText((void *) data, fill->item.iItem, fill->item.iSubItem, &(fill->item.pszText));
return 0;
}