src/video/wincommon/SDL_sysevents.c
changeset 179 ec9ec33673a2
parent 162 0a26c92c2385
child 252 e8157fcb3114
equal deleted inserted replaced
178:1fc1a101bf23 179:ec9ec33673a2
   332 
   332 
   333 
   333 
   334 #if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
   334 #if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
   335 		case WM_MOUSEWHEEL: 
   335 		case WM_MOUSEWHEEL: 
   336 			if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) {
   336 			if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) {
   337 				Sint16 x, y;
       
   338 				int move = (short)HIWORD(wParam);
   337 				int move = (short)HIWORD(wParam);
   339 				if ( move ) {
   338 				if ( move ) {
   340 					Uint8 button;
   339 					Uint8 button;
   341 					if ( move > 0 )
   340 					if ( move > 0 )
   342 						button = 4;
   341 						button = 4;