hi, I miscounted the arguments, sorry. This still fixes the crash in PSP 7. Changelog: windows : dialog.c If GetNextDlgTabItem() cannot find any next control, return the handle of the original control. Rein. -- Rein Klazes rklazes@xxxxxxxxx
--- wine/windows/dialog.c 2003-10-06 23:03:32.000000000 +0200 +++ mywine/windows/dialog.c 2003-11-05 15:12:49.000000000 +0100 @@ -1476,7 +1476,7 @@ if(!retWnd) retWnd = DIALOG_GetNextTabItem(hwndMain,hwndMain,NULL,fPrevious ); } - return retWnd; + return retWnd ? retWnd : hwndCtrl; } /***********************************************************************