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.

This commit is contained in:
Pietro Gagliardi 2014-08-13 15:19:18 -04:00
parent 79c97996b3
commit 1c5f09d49e
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}