comctl32/listview: Remove outdated TODO comment.
This commit is contained in:
parent
5c2e7075df
commit
c4a3651e34
|
@ -6537,8 +6537,6 @@ static INT LISTVIEW_GetColumnWidth(const LISTVIEW_INFO *infoPtr, INT nColumn)
|
||||||
/* We are not using LISTVIEW_GetHeaderRect as this data is updated only after a HDN_ITEMCHANGED.
|
/* We are not using LISTVIEW_GetHeaderRect as this data is updated only after a HDN_ITEMCHANGED.
|
||||||
* There is an application that subclasses the listview, calls LVM_GETCOLUMNWIDTH in the
|
* There is an application that subclasses the listview, calls LVM_GETCOLUMNWIDTH in the
|
||||||
* HDN_ITEMCHANGED handler and goes into infinite recursion if it receives old data.
|
* HDN_ITEMCHANGED handler and goes into infinite recursion if it receives old data.
|
||||||
*
|
|
||||||
* TODO: should we do the same in LVM_GETCOLUMN?
|
|
||||||
*/
|
*/
|
||||||
hdItem.mask = HDI_WIDTH;
|
hdItem.mask = HDI_WIDTH;
|
||||||
if (!SendMessageW(infoPtr->hwndHeader, HDM_GETITEMW, nColumn, (LPARAM)&hdItem))
|
if (!SendMessageW(infoPtr->hwndHeader, HDM_GETITEMW, nColumn, (LPARAM)&hdItem))
|
||||||
|
|
Loading…
Reference in New Issue