mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-09 10:53:27 +00:00
better
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@365 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user