better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@365 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
b843b0548f
commit
3b2e92ed9d
1 changed files with 3 additions and 3 deletions
|
|
@ -311,7 +311,7 @@ int MwLLPending(MwLL handle) {
|
|||
|
||||
(void)handle;
|
||||
|
||||
return PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) ? 1 : 0;
|
||||
return PeekMessage(&msg, handle->hWnd, 0, 0, PM_NOREMOVE) ? 1 : 0;
|
||||
}
|
||||
|
||||
void MwLLNextEvent(MwLL handle) {
|
||||
|
|
@ -319,8 +319,8 @@ void MwLLNextEvent(MwLL handle) {
|
|||
|
||||
(void)handle;
|
||||
|
||||
while(PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)) {
|
||||
GetMessage(&msg, NULL, 0, 0);
|
||||
while(PeekMessage(&msg, handle->hWnd, 0, 0, PM_NOREMOVE)) {
|
||||
GetMessage(&msg, handle->hWnd, 0, 0);
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue