*_retval = PR_FALSE; Point localPoint = {aMouseLocalY, aMouseLocalX}; if ( mMacEventHandler.get() ) *_retval = mMacEventHandler->Scroll(aVertical ? kEventMouseWheelAxisY : kEventMouseWheelAxisX, aNumLines, localPoint); return NS_OK; }
nsIWidget* widgetToScroll = gEventDispatchHandler.GetWidgetPointed(); if ( !widgetToScroll ) widgetToScroll = gEventDispatchHandler.GetActive();     inDelta *= -3;  HandleScrollEvent ( inAxis, PR_TRUE, inDelta, inMouseLoc, widgetToScroll );  return PR_TRUE;  }
nsMacWindow::Scroll ( PRBool aVertical, PRInt16 aNumLines, PRInt16 aMouseLocalX,                         PRInt16 aMouseLocalY, PRBool *_retval ){  *_retval = PR_FALSE;  Point localPoint = {aMouseLocalY, aMouseLocalX};  if ( mMacEventHandler.get() )    *_retval = mMacEventHandler->Scroll(aVertical ? kEventMouseWheelAxisY : kEventMouseWheelAxisX,                                          aNumLines, localPoint);  return NS_OK;}