mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-30 06:23:22 +08:00
isWindowInThisThread -> getMainWinIfWindowInThisThread
This commit is contained in:
+1
-1
@@ -290,7 +290,7 @@ BOOL GUIAPI SetTimerEx (HWND hWnd, LINT id, DWORD interv,
|
||||
goto badret;
|
||||
}
|
||||
|
||||
if (MG_UNLIKELY (!isWindowInThisThread (hWnd))) {
|
||||
if (MG_UNLIKELY (!getMainWinIfWindowInThisThread (hWnd))) {
|
||||
_WRN_PRINTF ("called for a window not in current thread\n");
|
||||
goto badret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user