support on WIN32.
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@302
7f0cb862-5218-0410-a997-
914c9d46530a
case 0x020a:
/* Should be WM_MOUSEWHEEL but my compiler doesn't recognize it */
{
- int wheel_number = LOWORD( lParam );
+ int wheel_number = LOWORD( wParam );
/* THIS IS SPECULATIVE -- John Fay, 10/2/03 */
- int ticks = HIWORD( lParam ) / 120;
+ short ticks = HIWORD( lParam ) / 120;
/* Should be WHEEL_DELTA instead of 120 */
int direction = 1;