src/video/windib/SDL_dibevents.c
branchSDL-1.2
changeset 4232 29605c881b29
parent 4220 cf958451fd8d
child 4238 cbe5222d051a
     1.1 --- a/src/video/windib/SDL_dibevents.c	Tue Sep 22 02:37:30 2009 +0000
     1.2 +++ b/src/video/windib/SDL_dibevents.c	Tue Sep 22 02:42:11 2009 +0000
     1.3 @@ -323,7 +323,11 @@
     1.4  	extern int posted;
     1.5  
     1.6  	POINT mouse;
     1.7 -	if(!GetCursorPos( &mouse ) && !GetLastStylusPos( &mouse )) return;
     1.8 +#ifdef _WIN32_WCE
     1.9 +	if ( !GetCursorPos(&mouse) && !GetLastStylusPos(&mouse) ) return;
    1.10 +#else
    1.11 +	if ( !GetCursorPos(&mouse) ) return;
    1.12 +#endif
    1.13  
    1.14  	if ( mouse_relative ) {
    1.15  		POINT center;