Index: src/ch/CrashDlg.cpp =================================================================== diff -u -ra1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848 -r27c0d76ec85a30292d8c474a1f4f969a9a32c406 --- src/ch/CrashDlg.cpp (.../CrashDlg.cpp) (revision a1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848) +++ src/ch/CrashDlg.cpp (.../CrashDlg.cpp) (revision 27c0d76ec85a30292d8c474a1f4f969a9a32c406) @@ -7,12 +7,11 @@ #include "version.h" #define IDS_CRASH_TITLE _T("Application crashed") -#define IDS_STATIC_INFO _T("Copy Handler encountered an internal problem and will be closed.\n\nIf you want to help correct this problem in the future releases of program you can send the crash information to the author of this program.") +#define IDS_STATIC_INFO _T("Copy Handler encountered an internal problem and will be closed.\n\nIf you want to help correct this problem in the future releases of program you can send the crash information to the author of this program (e-mail it to ixen@copyhandler.com).") #define IDS_VERSIONINFO_STATIC _T("Program version:") #define IDS_LOCATIONINFO_STATIC _T("Crash dump location:") #define IDS_LOCATION_STATIC _T("Error encountered while trying to create crash dump") -#define IDS_OK _T("&Send the crash information") -#define IDS_CANCEL _T("&Do not send") +#define IDS_OK _T("&Close") // CCrashDlg dialog @@ -38,7 +37,6 @@ DDX_Control(pDX, IDC_STATIC_INFO, m_ctlInfo); DDX_Control(pDX, IDC_VERSIONINFO_STATIC, m_ctlVersionInfo); DDX_Control(pDX, IDC_LOCATIONINFO_STATIC, m_ctlLocationInfo); - DDX_Control(pDX, IDCANCEL, m_ctlCancelButton); } @@ -63,7 +61,6 @@ m_ctlLocation.SetWindowText(IDS_LOCATION_STATIC); m_ctlOKButton.SetWindowText(IDS_OK); - m_ctlCancelButton.SetWindowText(IDS_CANCEL); m_ctlOKButton.EnableWindow(m_bResult); return TRUE; // return TRUE unless you set the focus to a control Index: src/ch/CrashDlg.h =================================================================== diff -u -ra1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848 -r27c0d76ec85a30292d8c474a1f4f969a9a32c406 --- src/ch/CrashDlg.h (.../CrashDlg.h) (revision a1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848) +++ src/ch/CrashDlg.h (.../CrashDlg.h) (revision 27c0d76ec85a30292d8c474a1f4f969a9a32c406) @@ -32,5 +32,4 @@ CStatic m_ctlInfo; CStatic m_ctlVersionInfo; CStatic m_ctlLocationInfo; - CButton m_ctlCancelButton; }; Index: src/ch/ch.cpp =================================================================== diff -u -ra1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848 -r27c0d76ec85a30292d8c474a1f4f969a9a32c406 --- src/ch/ch.cpp (.../ch.cpp) (revision a1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848) +++ src/ch/ch.cpp (.../ch.cpp) (revision 27c0d76ec85a30292d8c474a1f4f969a9a32c406) @@ -233,10 +233,7 @@ CloseHandle(hFile); CCrashDlg dlgCrash(bResult, szName); - if(dlgCrash.DoModal() == IDOK) - { - // TODO: Handle transferring the file to the remote server - } + dlgCrash.DoModal(); return EXCEPTION_EXECUTE_HANDLER; } Index: src/ch/ch.rc =================================================================== diff -u -ra1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848 -r27c0d76ec85a30292d8c474a1f4f969a9a32c406 --- src/ch/ch.rc (.../ch.rc) (revision a1df59e4b47f6d8c347f3cff6cfd1a83cd0ec848) +++ src/ch/ch.rc (.../ch.rc) (revision 27c0d76ec85a30292d8c474a1f4f969a9a32c406) @@ -555,8 +555,7 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN LTEXT "",IDC_STATIC_INFO,7,7,302,33 - PUSHBUTTON "",IDCANCEL,259,117,50,14 - PUSHBUTTON "",IDOK,150,117,102,14 + PUSHBUTTON "",IDOK,207,117,102,14 LTEXT "",IDC_VERSIONINFO_STATIC,20,49,83,8 LTEXT "",IDC_LOCATIONINFO_STATIC,20,65,83,8 LTEXT "",IDC_VERSION_STATIC,119,49,190,8