Call getclassname2 when there is a gui proxy
Fixed a bug that was still used when there was no gui agent
This commit is contained in:
parent
5a18da3637
commit
1a842b7e46
|
@ -1092,7 +1092,7 @@ _FX BOOLEAN Gui_IsWindowAccessible(HWND hWnd)
|
|||
|
||||
WCHAR clsnm[256];
|
||||
ULONG have_clsnm = __sys_GetClassNameW(hWnd, clsnm, 255);
|
||||
if (! have_clsnm)
|
||||
if (! have_clsnm && Gui_UseProxyService)
|
||||
have_clsnm = Gui_GetClassName2(hWnd, clsnm, 255, TRUE);
|
||||
if (have_clsnm) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue