Commit b9910123 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

DeleteColumn should return success even for uOwnerData.

parent 83ad886a
...@@ -4240,8 +4240,7 @@ static LRESULT LISTVIEW_DeleteColumn(HWND hwnd, INT nColumn) ...@@ -4240,8 +4240,7 @@ static LRESULT LISTVIEW_DeleteColumn(HWND hwnd, INT nColumn)
if (Header_DeleteItem(infoPtr->hwndHeader, nColumn) != FALSE) if (Header_DeleteItem(infoPtr->hwndHeader, nColumn) != FALSE)
{ {
if (!uOwnerData) bResult = uOwnerData ? TRUE : LISTVIEW_RemoveColumn(infoPtr->hdpaItems, nColumn);
bResult = LISTVIEW_RemoveColumn(infoPtr->hdpaItems, nColumn);
/* Need to reset the item width when deleting a column */ /* Need to reset the item width when deleting a column */
infoPtr->nItemWidth = LISTVIEW_GetItemWidth(hwnd); infoPtr->nItemWidth = LISTVIEW_GetItemWidth(hwnd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment