[EXPLORER] Start Menu Customize: Use TreeView_GetRoot (#6603)

Follow-up to #6596. Enable the Favorite menu setting.
JIRA issue: CORE-16956
- Use TreeView_GetRoot instead of TreeView_GetFirstVisible in
  CustomizeClassic_OnOK function.
This commit is contained in:
Katayama Hirofumi MZ 2024-03-12 08:17:05 +09:00 committed by GitHub
parent bbce6c3fdf
commit 7f8c502901
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,7 +167,7 @@ static BOOL CustomizeClassic_OnOK(HWND hwnd)
{
HWND hTreeView = GetDlgItem(hwnd, IDC_CLASSICSTART_SETTINGS);
for (HTREEITEM hItem = TreeView_GetFirstVisible(hTreeView);
for (HTREEITEM hItem = TreeView_GetRoot(hTreeView);
hItem != NULL;
hItem = TreeView_GetNextVisible(hTreeView, hItem))
{