allow to show diff of deleted files on diffing against parent > 0
[TortoiseGit.git] / src / TortoiseGitBlame / EditGotoDlg.cpp
blob0f515ad1349f0f89903d65599d04016f7eb76462
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2008-2011 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 // EditGoto.cpp : implementation file
23 #include "stdafx.h"
24 #include "TortoiseGitBlame.h"
25 #include "EditGotoDlg.h"
28 // CEditGotoDlg dialog
30 IMPLEMENT_DYNAMIC(CEditGotoDlg, CDialog)
32 CEditGotoDlg::CEditGotoDlg(CWnd* pParent /*=NULL*/)
33 : CDialog(CEditGotoDlg::IDD, pParent)
34 , m_LineNumber(0)
39 CEditGotoDlg::~CEditGotoDlg()
43 void CEditGotoDlg::DoDataExchange(CDataExchange* pDX)
45 CDialog::DoDataExchange(pDX);
46 DDX_Text(pDX, IDC_LINENUMBER, m_LineNumber);
47 DDV_MinMaxUInt(pDX, m_LineNumber, 0, 40000000);
51 BEGIN_MESSAGE_MAP(CEditGotoDlg, CDialog)
53 END_MESSAGE_MAP()
56 // CEditGotoDlg message handlers