[SETUP][SYSSETUP]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 1 Jan 2013 12:12:19 +0000 (12:12 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 1 Jan 2013 12:12:19 +0000 (12:12 +0000)
- Restore focus after closing GPL window
- Patch by vort
CORE-6837 #resolve #comment fixed in rev 58083

svn path=/trunk/; revision=58083

reactos/dll/win32/syssetup/wizard.c

index ea1b22c..f1caf2a 100644 (file)
@@ -348,6 +348,7 @@ AckPageDlgProc(HWND hwndDlg,
             if (HIWORD(wParam) == BN_CLICKED && IDC_VIEWGPL == LOWORD(wParam))
             {
                 DialogBox(hDllInstance, MAKEINTRESOURCE(IDD_GPL), NULL, GplDlgProc);
             if (HIWORD(wParam) == BN_CLICKED && IDC_VIEWGPL == LOWORD(wParam))
             {
                 DialogBox(hDllInstance, MAKEINTRESOURCE(IDD_GPL), NULL, GplDlgProc);
+                SetForegroundWindow(GetParent(hwndDlg));
             }
             break;
 
             }
             break;