| 16 | namespace debugviewpp { |
| 17 | |
| 18 | BOOL CAboutDlg::OnInitDialog(CWindow /*wndFocus*/, LPARAM /*lInitParam*/) |
| 19 | { |
| 20 | CenterWindow(GetParent()); |
| 21 | m_srclink.SubclassWindow(GetDlgItem(IDC_DEBUGVIEW_SRC_URL)); |
| 22 | m_link.SubclassWindow(GetDlgItem(IDC_DEBUGVIEW_URL)); |
| 23 | int version[4] = { VERSION }; |
| 24 | SetDlgItemText(IDC_VERSION, WStr(wstringbuilder() << L"DebugView++ V" << version[0] << L"." << version[1] << L"." << version[2] << L"." << version[3])); |
| 25 | SetDlgItemText(IDC_DATE, _T(__DATE__)); |
| 26 | return TRUE; |
| 27 | } |
| 28 | |
| 29 | void CAboutDlg::OnCloseCmd(UINT /*uNotifyCode*/, int nID, CWindow /*wndCtl*/) |
| 30 | { |
nothing calls this directly
no test coverage detected