bug 227129 - select "DECLINE" radio button by default in winstaller, patch by jhenry. <jhenry@ccs.neu.edu>

This commit is contained in:
ben%bengoodger.com 2003-12-16 00:48:22 +00:00
Родитель 3eda17a117
Коммит ff92e1702b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -334,9 +334,9 @@ LRESULT CALLBACK DlgProcLicense(HWND hDlg, UINT msg, WPARAM wParam, LONG lParam)
SetDlgItemText(hDlg, IDC_RADIO_ACCEPT, diLicense.szRadioAccept);
SetDlgItemText(hDlg, IDC_RADIO_DECLINE, diLicense.szRadioDecline);
// Check the "Accept" Radio button by default.
CheckDlgButton(hDlg, IDC_RADIO_ACCEPT, BST_CHECKED);
SendMessage(GetDlgItem(hDlg, IDC_RADIO_ACCEPT), BM_SETCHECK, BST_CHECKED, 0);
// Check the "Decline" Radio button by default.
CheckDlgButton(hDlg, IDC_RADIO_DECLINE, BST_CHECKED);
SendMessage(GetDlgItem(hDlg, IDC_RADIO_DECLINE), BM_SETCHECK, BST_CHECKED, 0);
// License Text
lstrcpy(szBuf, szSetupDir);