1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-06 04:00:08 +00:00

Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel.

This commit is contained in:
Julian Storer 2010-03-07 17:45:10 +00:00
parent b974203d0f
commit 2676bb02f2
42 changed files with 1815 additions and 1867 deletions

View file

@ -1312,7 +1312,7 @@ private:
{
updateKeyModifiers();
const float amount = jlimit (-1000.0f, 1000.0f, 0.75f * HIWORD (wParam));
const float amount = jlimit (-1000.0f, 1000.0f, 0.75f * (short) HIWORD (wParam));
handleMouseWheel (0, position, getMouseEventTime(),
isVertical ? 0.0f : amount,