// For now, ignore the mouseWheel font resizing on Macs
// As the Button2_mask always seems to be true
- if ((evt.getModifiers()
- & InputEvent.BUTTON2_MASK) == InputEvent.BUTTON2_MASK
- && !Platform.isAMac())
+
+ if (Platform.isWinMiddleButton(evt))
{
mouseWheelPressed = true;
return;