Index: src/ch/FeedbackFileErrorDlg.h =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -r12ee49f6bf1f8921500ee2078e0a8c2d7b6d2a45 --- src/ch/FeedbackFileErrorDlg.h (.../FeedbackFileErrorDlg.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/FeedbackFileErrorDlg.h (.../FeedbackFileErrorDlg.h) (revision 12ee49f6bf1f8921500ee2078e0a8c2d7b6d2a45) @@ -18,35 +18,33 @@ ***************************************************************************/ #ifndef __FEEDBACKFILEERRORDLG_H__ #define __FEEDBACKFILEERRORDLG_H__ -#include "afxwin.h" // CFeedbackFileErrorDlg dialog class CFeedbackFileErrorDlg : public ictranslate::CLanguageDialog { DECLARE_DYNAMIC(CFeedbackFileErrorDlg) public: - CFeedbackFileErrorDlg(const tchar_t* pszPath, ulong_t ulSysError, CWnd* pParent = NULL); // standard constructor + CFeedbackFileErrorDlg(const wchar_t* pszSrcPath, const wchar_t* pszDstPath, unsigned long ulSysError, CWnd* pParent = nullptr); // standard constructor virtual ~CFeedbackFileErrorDlg(); -// Dialog Data - enum { IDD = IDD_FEEDBACK_FILE_ERROR_DIALOG }; - afx_msg void OnBnClickedRetryButton(); afx_msg void OnBnClickedSkipButton(); afx_msg void OnBnClickedPauseButton(); afx_msg void OnBnClickedCancel(); protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + void DoDataExchange(CDataExchange* pDX) override; // DDX/DDV support + void OnCancel() override; DECLARE_MESSAGE_MAP() public: BOOL m_bAllItems; CStatic m_ctlErrorInfo; - CString m_strPath; - ulong_t m_ulSysError; - virtual BOOL OnInitDialog(); + CString m_strSrcPath; + CString m_strDstPath; + unsigned long m_ulSysError; + BOOL OnInitDialog() override; }; #endif