Settings: Fix titlebar Close button

IDCANCEL is still sent by the native Close button in the titlebar and
should still be handled.
This commit is contained in:
Vincent Cunningham 2021-03-03 11:32:20 -05:00
parent 43a2081cae
commit 971f19745b
1 changed files with 1 additions and 0 deletions

View File

@ -223,6 +223,7 @@ LRESULT CSettingConfig::OnClicked(WORD /*wNotifyCode*/, WORD wID, HWND, BOOL& /*
ApplySettings(false);
EndDialog(1);
break;
case IDCANCEL:
case IDC_CANCEL:
EndDialog(0);
break;