git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@365 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-16 11:05:11 +00:00
parent b843b0548f
commit 3b2e92ed9d

View File

@@ -311,7 +311,7 @@ int MwLLPending(MwLL handle) {
(void)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) { void MwLLNextEvent(MwLL handle) {
@@ -319,8 +319,8 @@ void MwLLNextEvent(MwLL handle) {
(void)handle; (void)handle;
while(PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE)) { while(PeekMessage(&msg, handle->hWnd, 0, 0, PM_NOREMOVE)) {
GetMessage(&msg, NULL, 0, 0); GetMessage(&msg, handle->hWnd, 0, 0);
TranslateMessage(&msg); TranslateMessage(&msg);
DispatchMessage(&msg); DispatchMessage(&msg);
} }