Index: src/ch/CrashDlg.cpp =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -r8068e0c351055554340ac9755d1bc846893bf2b8 --- src/ch/CrashDlg.cpp (.../CrashDlg.cpp) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/CrashDlg.cpp (.../CrashDlg.cpp) (revision 8068e0c351055554340ac9755d1bc846893bf2b8) @@ -23,6 +23,7 @@ #include "ch.h" #include "CrashDlg.h" #include "../common/version.h" +#include "resource.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 (e-mail it to ixen@copyhandler.com).") @@ -35,8 +36,8 @@ IMPLEMENT_DYNAMIC(CCrashDlg,ictranslate::CLanguageDialog) -CCrashDlg::CCrashDlg(bool bResult, PCTSTR pszFilename, CWnd* pParent /*=NULL*/) - : CDialog(CCrashDlg::IDD, pParent), +CCrashDlg::CCrashDlg(bool bResult, PCTSTR pszFilename, CWnd* pParent /*=nullptr*/) + : CDialog(IDD_CRASH_DIALOG, pParent), m_bResult(bResult), m_strFilename(pszFilename) {