mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
comctl32: Remove unused scrollInfo from LISTVIEW_MouseWheel.
This commit is contained in:
parent
c31c4454aa
commit
aa745feddc
@ -9493,16 +9493,12 @@ static LRESULT LISTVIEW_MouseWheel(LISTVIEW_INFO *infoPtr, INT wheelDelta)
|
||||
{
|
||||
INT gcWheelDelta = 0;
|
||||
INT pulScrollLines = 3;
|
||||
SCROLLINFO scrollInfo;
|
||||
|
||||
TRACE("(wheelDelta=%d)\n", wheelDelta);
|
||||
|
||||
SystemParametersInfoW(SPI_GETWHEELSCROLLLINES,0, &pulScrollLines, 0);
|
||||
gcWheelDelta -= wheelDelta;
|
||||
|
||||
scrollInfo.cbSize = sizeof(SCROLLINFO);
|
||||
scrollInfo.fMask = SIF_POS;
|
||||
|
||||
switch(infoPtr->uView)
|
||||
{
|
||||
case LV_VIEW_ICON:
|
||||
|
Loading…
Reference in New Issue
Block a user