diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-17 19:24:42 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-17 19:24:42 -0400 |
| commit | 172c48435698be5eeb8e7b6c306114ce8050dca8 (patch) | |
| tree | cafc593a9c415e280999b0e761165a584129a53f /redo/table_windows.c | |
| parent | c148ccaca6e59bd8297db1d6acd1161e2e4563e3 (diff) | |
Fixed Windows Table checkboxes on Windows XP.
Diffstat (limited to 'redo/table_windows.c')
| -rw-r--r-- | redo/table_windows.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c index e2acbc9..106d159 100644 --- a/redo/table_windows.c +++ b/redo/table_windows.c @@ -117,4 +117,7 @@ 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 + // thanks to Jonathan Potter (http://stackoverflow.com/questions/25354448/why-do-my-owner-data-list-view-state-images-come-up-as-blank-on-windows-xp) + if (SendMessageW(hwnd, LVM_SETCALLBACKMASK, LVIS_STATEIMAGEMASK, 0) == FALSE) + xpanic("error marking state image list as application-managed", GetLastError()); } |
