Module: wine Branch: master Commit: a9a5dae06459ac512b61c989e945012af8615bf1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a9a5dae06459ac512b61c989e9... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Feb 18 11:12:11 2010 +0100 user.exe: The default dialog button id is 0 on Win16. --- dlls/user.exe16/dialog.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/user.exe16/dialog.c b/dlls/user.exe16/dialog.c index ab6cb38..a194a58 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 );