mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[User32]
- Do not send on a null window, fixes start up and shut down spurious window handle errors. svn path=/trunk/; revision=56946
This commit is contained in:
parent
17836bbe19
commit
23c9176d87
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ INT DIALOG_DoDialogBox( HWND hwnd, HWND owner )
|
|||
if (!(GetWindowLongPtrW( hwnd, GWL_STYLE ) & DS_NOIDLEMSG))
|
||||
{
|
||||
/* No message present -> send ENTERIDLE and wait */
|
||||
SendMessageW( ownerMsg, WM_ENTERIDLE, MSGF_DIALOGBOX, (LPARAM)hwnd );
|
||||
if (ownerMsg) SendMessageW( ownerMsg, WM_ENTERIDLE, MSGF_DIALOGBOX, (LPARAM)hwnd );
|
||||
}
|
||||
GetMessageW( &msg, 0, 0, 0 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue