mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[USER32] GetNextDlgGroupItem(): Remove WineSync copy-pasta (#6162)
Improve WineSync.
Addendum to 61fb8a2
(r19831).
This commit is contained in:
parent
3f5fd1d09e
commit
ae534e8cee
1 changed files with 1 additions and 8 deletions
|
@ -2296,25 +2296,18 @@ GetNextDlgGroupItem(
|
|||
{
|
||||
if (!IsChild (hDlg, hCtl)) return 0;
|
||||
/* Make sure hwndCtrl is a top-level child */
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
/* No ctrl specified -> start from the beginning */
|
||||
if (!(hCtl = GetWindow( hDlg, GW_CHILD ))) return 0;
|
||||
/* MSDN is wrong. fPrevious does not result in the last child */
|
||||
|
||||
/* No ctrl specified -> start from the beginning */
|
||||
if (!(hCtl = GetWindow( hDlg, GW_CHILD ))) return 0;
|
||||
|
||||
/* MSDN is wrong. fPrevious does not result in the last child */
|
||||
/* MSDN is wrong. bPrevious does not result in the last child */
|
||||
|
||||
/* Maybe that first one is valid. If so then we don't want to skip it*/
|
||||
if ((GetWindowLongPtrW( hCtl, GWL_STYLE ) & (WS_VISIBLE|WS_DISABLED)) == WS_VISIBLE)
|
||||
{
|
||||
return hCtl;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Always go forward around the group and list of controls; for the
|
||||
|
|
Loading…
Reference in a new issue