From a9a5dae06459ac512b61c989e945012af8615bf1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 18 Feb 2010 11:12:11 +0100 Subject: [PATCH] user.exe: The default dialog button id is 0 on Win16. --- dlls/user.exe16/dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/user.exe16/dialog.c b/dlls/user.exe16/dialog.c index ab6cb38755a..a194a586900 100644 --- a/dlls/user.exe16/dialog.c +++ b/dlls/user.exe16/dialog.c @@ -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 ); -- 2.11.4.GIT