Avoid truncating the item data to 32 bits in LB_SETITEMDATA.
This commit is contained in:
parent
f367051afe
commit
556a129afa
|
@ -2671,7 +2671,7 @@ static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
|
|||
SetLastError(ERROR_INVALID_INDEX);
|
||||
return LB_ERR;
|
||||
}
|
||||
descr->items[wParam].data = (DWORD)lParam;
|
||||
descr->items[wParam].data = lParam;
|
||||
return LB_OKAY;
|
||||
|
||||
case LB_GETCOUNT16:
|
||||
|
|
Loading…
Reference in New Issue