SyncDlg: Make check if local branch fast-fowards to remote branch work again
[TortoiseGit.git] / src / TortoiseProc / AddRemoteDlg.cpp
bloba384173a0379684f76b19091c853bf4703d309bc
1 // AddRemoteDlg.cpp : implementation file
2 //
4 #include "stdafx.h"
5 #include "TortoiseProc.h"
6 #include "AddRemoteDlg.h"
9 // CAddRemoteDlg dialog
11 IMPLEMENT_DYNAMIC(CAddRemoteDlg, CDialog)
13 CAddRemoteDlg::CAddRemoteDlg(CWnd* pParent /*=NULL*/)
14 : CDialog(CAddRemoteDlg::IDD, pParent)
15 , m_Name(_T(""))
16 , m_Url(_T(""))
21 CAddRemoteDlg::~CAddRemoteDlg()
25 void CAddRemoteDlg::DoDataExchange(CDataExchange* pDX)
27 CDialog::DoDataExchange(pDX);
28 DDX_Text(pDX, IDC_EDIT_NAME, m_Name);
29 DDX_Text(pDX, IDC_EDIT_URL, m_Url);
33 BEGIN_MESSAGE_MAP(CAddRemoteDlg, CDialog)
34 ON_BN_CLICKED(IDOK, &CAddRemoteDlg::OnBnClickedOk)
35 END_MESSAGE_MAP()
38 // CAddRemoteDlg message handlers
40 void CAddRemoteDlg::OnBnClickedOk()
42 UpdateData();
46 OnOK();