isWindowInThisThread -> getMainWinIfWindowInThisThread

This commit is contained in:
Vincent Wei
2020-02-23 19:06:33 +08:00
parent cef9216dd8
commit ec5eec69ef
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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;
}