parameters: (self, event)
docstring: Handles the ``wx.EVT_MOUSEWHEEL`` event for :class:`FloatSpin`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_MOUSEWHEEL`` event for :class:`FloatSpin`.
docstring_tokens: Handles the wx . EVT_MOUSEWHEEL event for : class : FloatSpin .
function: def OnMouseWheel(self, event):
          """
          Handles the ``wx.EVT_MOUSEWHEEL`` event for :class:`FloatSpin`.
  
          :param `event`: a :class:`MouseEvent` event to be processed.
          """
  
          modifier = FixedPoint(str(1.0), 20)
          if event.ShiftDown():
              modifier = modifier*2.0
          if event.ControlDown():
              modifier = modifier*10.0
          if event.AltDown():
              modifier = modifier*100.0
  
          if self._textctrl and self._textctrl.IsModified():
              self.SyncSpinToText(False)
  
          if event.GetWheelRotation() > 0:
              self.SetValue(self._value + self._increment*modifier)
              self.DoSendEvent()
  
          else:
  
              self.SetValue(self._value - self._increment*modifier)
              self.DoSendEvent()
function_tokens: def OnMouseWheel ( self , event ) : modifier = FixedPoint ( str ( 1.0 ) , 20 ) if event . ShiftDown ( ) : modifier = modifier * 2.0 if event . ControlDown ( ) : modifier = modifier * 10.0 if event . AltDown ( ) : modifier = modifier * 100.0 if self . _textctrl and self . _textctrl . IsModified ( ) : self . SyncSpinToText ( False ) if event . GetWheelRotation ( ) > 0 : self . SetValue ( self . _value + self . _increment * modifier ) self . DoSendEvent ( ) else : self . SetValue ( self . _value - self . _increment * modifier ) self . DoSendEvent ( )