Fixed issue #440: Don't enable 'Apply' button until the data are ok in Settings/Git...
[TortoiseGit.git] / src / TortoiseProc / RefLogDlg.h
blobdfbf3f7514ad41198247648eebb3968b08e8afe6
1 #pragma once
2 #include "afxcmn.h"
3 #include "StandAloneDlg.h"
4 #include "HistoryCombo.h"
5 #include "RefLoglist.h"
6 // CRefLogDlg dialog
8 class CRefLogDlg : public CResizableStandAloneDialog
10 DECLARE_DYNAMIC(CRefLogDlg)
12 public:
13 CRefLogDlg(CWnd* pParent = NULL); // standard constructor
14 virtual ~CRefLogDlg();
16 // Dialog Data
17 enum { IDD = IDD_REFLOG };
19 protected:
20 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
21 BOOL OnInitDialog();
22 afx_msg void OnCbnSelchangeRef();
23 afx_msg LRESULT OnRefLogChanged(WPARAM wParam, LPARAM lParam);
24 DECLARE_MESSAGE_MAP()
25 public:
26 CHistoryCombo m_ChooseRef;
27 CString m_CurrentBranch;
28 public:
29 CRefLogList m_RefList;
30 CString m_SelectedHash;
31 public:
32 afx_msg void OnBnClickedOk();