Mercurial > sdl-ios-xcode
comparison src/video/windx5/SDL_dx5events.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 | da6a7e859616 |
children | bf7f477fb2b2 |
comparison
equal
deleted
inserted
replaced
522:6b3998ddee6d | 523:c210010f50f4 |
---|---|
536 DWORD event; | 536 DWORD event; |
537 | 537 |
538 /* Check the normal windows queue (highest preference) */ | 538 /* Check the normal windows queue (highest preference) */ |
539 posted = 0; | 539 posted = 0; |
540 while ( ! posted && | 540 while ( ! posted && |
541 PeekMessage(&msg, NULL, 0, (WM_APP-1), PM_NOREMOVE) ) { | 541 PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) ) { |
542 if ( GetMessage(&msg, NULL, 0, (WM_APP-1)) > 0 ) { | 542 if ( GetMessage(&msg, NULL, 0, 0) > 0 ) { |
543 DispatchMessage(&msg); | 543 DispatchMessage(&msg); |
544 } else { | 544 } else { |
545 return(-1); | 545 return(-1); |
546 } | 546 } |
547 } | 547 } |