Fixed Issue #138: "Format patch" in "Show log" dialog doesn't work
[TortoiseGit.git] / src / TortoiseProc / ImportPatchDlg.h
blob52d7509c94ce361680cee1916a904600fee1d1fc
1 #pragma once
3 #include "StandAloneDlg.h"
4 // CImportPatchDlg dialog
5 #include "TGitPath.h"
6 #include "PatchListCtrl.h"
8 class CImportPatchDlg : public CResizableStandAloneDialog
10 DECLARE_DYNAMIC(CImportPatchDlg)
12 public:
13 CImportPatchDlg(CWnd* pParent = NULL); // standard constructor
14 virtual ~CImportPatchDlg();
16 // Dialog Data
17 enum { IDD = IDD_APPLY_PATCH_LIST };
19 protected:
20 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
21 virtual BOOL OnInitDialog();
23 CPatchListCtrl m_cList;
24 DECLARE_MESSAGE_MAP()
25 public:
26 afx_msg void OnLbnSelchangeListPatch();
27 afx_msg void OnBnClickedButtonAdd();
28 afx_msg void OnBnClickedButtonUp();
29 afx_msg void OnBnClickedButtonDown();
30 afx_msg void OnBnClickedButtonRemove();
31 afx_msg void OnBnClickedOk();
33 CTGitPathList m_PathList;