mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:21:08 +00:00
comctl32/listview: Remove some dead code.
This commit is contained in:
parent
dbd997c3c9
commit
ea57e29d08
|
@ -3490,26 +3490,15 @@ static void LISTVIEW_ShiftFocus(LISTVIEW_INFO *infoPtr, INT focus, INT item, INT
|
|||
*/
|
||||
static void LISTVIEW_ShiftIndices(LISTVIEW_INFO *infoPtr, INT nItem, INT direction)
|
||||
{
|
||||
BOOL bOldChange;
|
||||
|
||||
/* temporarily disable change notification while shifting items */
|
||||
bOldChange = infoPtr->bDoChangeNotify;
|
||||
infoPtr->bDoChangeNotify = FALSE;
|
||||
|
||||
TRACE("Shifting %i, %i steps\n", nItem, direction);
|
||||
|
||||
ranges_shift(infoPtr->selectionRanges, nItem, direction, infoPtr->nItemCount);
|
||||
|
||||
assert(abs(direction) == 1);
|
||||
|
||||
infoPtr->nSelectionMark = shift_item(infoPtr, infoPtr->nSelectionMark, nItem, direction);
|
||||
|
||||
|
||||
/* But we are not supposed to modify nHotItem! */
|
||||
|
||||
infoPtr->bDoChangeNotify = bOldChange;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* DESCRIPTION:
|
||||
* Adds a block of selections.
|
||||
|
|
Loading…
Reference in a new issue