diff src/video/windib/SDL_dibevents.c @ 523:c210010f50f4

Fixed windows event handling for ActiveX controls (thanks Huib-Jan!)
author Sam Lantinga <slouken@libsdl.org>
date Tue, 08 Oct 2002 16:25:23 +0000
parents 230b156829ed
children 2312d983e1fe
line wrap: on
line diff
--- a/src/video/windib/SDL_dibevents.c	Tue Oct 08 15:48:21 2002 +0000
+++ b/src/video/windib/SDL_dibevents.c	Tue Oct 08 16:25:23 2002 +0000
@@ -172,8 +172,8 @@
 {
 	MSG msg;
 
-	while ( PeekMessage(&msg, NULL, 0, (WM_APP-1), PM_NOREMOVE) ) {
-		if ( GetMessage(&msg, NULL, 0, (WM_APP-1)) > 0 ) {
+	while ( PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) ) {
+		if ( GetMessage(&msg, NULL, 0, 0) > 0 ) {
 			DispatchMessage(&msg);
 		}
 	}