user.exe: The default dialog button id is 0 on Win16.
This commit is contained in:
parent
5c4d3fb5a2
commit
a9a5dae064
|
@ -446,6 +446,7 @@ static HWND DIALOG_CreateIndirect16( HINSTANCE16 hInst, LPCVOID dlgTemplate,
|
|||
dlgInfo->hMenu = HMENU_32( hMenu );
|
||||
dlgInfo->xBaseUnit = xBaseUnit;
|
||||
dlgInfo->yBaseUnit = yBaseUnit;
|
||||
dlgInfo->idResult = 0;
|
||||
dlgInfo->flags = flags;
|
||||
|
||||
SetWindowLong16( HWND_16(hwnd), DWLP_DLGPROC, (LONG)dlgProc );
|
||||
|
|
Loading…
Reference in New Issue