mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00: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:
parent
a49732e5b6
commit
87e905ecd8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue