src/video/wincommon/SDL_sysevents.c
changeset 451 24edec3cafe4
parent 447 16d0449891b8
child 453 a6fa62b1be09
--- a/src/video/wincommon/SDL_sysevents.c	Mon Aug 19 17:58:08 2002 +0000
+++ b/src/video/wincommon/SDL_sysevents.c	Mon Aug 19 18:09:44 2002 +0000
@@ -370,9 +370,9 @@
 				if ( move ) {
 					Uint8 button;
 					if ( move > 0 )
-						button = 4;
+						button = SDL_BUTTON_WHEELUP;
 					else
-						button = 5;
+						button = SDL_BUTTON_WHEELDOWN;
 					posted = SDL_PrivateMouseButton(
 						SDL_PRESSED, button, 0, 0);
 					posted |= SDL_PrivateMouseButton(