user.exe: The default dialog button id is 0 on Win16.

This commit is contained in:
Alexandre Julliard 2010-02-18 11:12:11 +01:00
parent 5c4d3fb5a2
commit a9a5dae064
1 changed files with 1 additions and 0 deletions

View File

@ -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 );