mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08:00
[NOTEPAD] Use Globals.hMainWnd in ShowLastError (#5132)
Improving UI/UX by making Globals.hMainWnd the owner of the message box. CORE-18837
This commit is contained in:
committed by
GitHub
parent
a49732e5b6
commit
87e905ecd8
@@ -75,7 +75,7 @@ VOID ShowLastError(VOID)
|
||||
0,
|
||||
NULL);
|
||||
|
||||
MessageBox(NULL, lpMsgBuf, szTitle, MB_OK | MB_ICONERROR);
|
||||
MessageBox(Globals.hMainWnd, lpMsgBuf, szTitle, MB_OK | MB_ICONERROR);
|
||||
LocalFree(lpMsgBuf);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user