mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 20:13:31 +08:00
[CPL] Do not enable the "Apply" button unconditionally (#1876)
Fix for WINED3DCFG and OPENGLCFG. CORE-16330
This commit is contained in:
parent
12e2039743
commit
9efe8dab89
@ -173,7 +173,10 @@ INT_PTR CALLBACK GeneralPageProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM
|
||||
if (LOWORD(wParam) == IDC_RENDERER ||
|
||||
LOWORD(wParam) == IDC_DEBUG_OUTPUT)
|
||||
{
|
||||
PropSheet_Changed(GetParent(hWndDlg), hWndDlg);
|
||||
if (HIWORD(wParam) == CBN_SELCHANGE)
|
||||
{
|
||||
PropSheet_Changed(GetParent(hWndDlg), hWndDlg);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -154,7 +154,7 @@ INT_PTR CALLBACK GeneralPageProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPARAM
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) > IDC_MIN && LOWORD(wParam) < IDC_MAX)
|
||||
if (LOWORD(wParam) > IDC_MIN && LOWORD(wParam) < IDC_MAX && HIWORD(wParam) == CBN_SELCHANGE)
|
||||
PropSheet_Changed(GetParent(hWndDlg), hWndDlg);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user