Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
522:6b3998ddee6d | 523:c210010f50f4 |
---|---|
170 | 170 |
171 void DIB_PumpEvents(_THIS) | 171 void DIB_PumpEvents(_THIS) |
172 { | 172 { |
173 MSG msg; | 173 MSG msg; |
174 | 174 |
175 while ( PeekMessage(&msg, NULL, 0, (WM_APP-1), PM_NOREMOVE) ) { | 175 while ( PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) ) { |
176 if ( GetMessage(&msg, NULL, 0, (WM_APP-1)) > 0 ) { | 176 if ( GetMessage(&msg, NULL, 0, 0) > 0 ) { |
177 DispatchMessage(&msg); | 177 DispatchMessage(&msg); |
178 } | 178 } |
179 } | 179 } |
180 } | 180 } |
181 | 181 |