If GetNextDlgTabItem() cannot find any next control, return the handle
of the original control.
This commit is contained in:
parent
f45325e443
commit
df93214a52
|
@ -1476,7 +1476,7 @@ static HWND DIALOG_GetNextTabItem( HWND hwndMain, HWND hwndDlg, HWND hwndCtrl, B
|
|||
if(!retWnd)
|
||||
retWnd = DIALOG_GetNextTabItem(hwndMain,hwndMain,NULL,fPrevious );
|
||||
}
|
||||
return retWnd;
|
||||
return retWnd ? retWnd : hwndCtrl;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
Loading…
Reference in New Issue