Allow to move item past last item
[TortoiseGit.git] / src / TortoiseProc / FirstStartWizardBasePage.h
bloba8590ab8ab24d3337f6865a5f214ddda172a6181
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2016 - 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.
19 #pragma once
20 #include "AppUtils.h"
21 #include "CommonDialogFunctions.h"
23 /**
24 * base class for the merge wizard property pages
26 class CFirstStartWizardBasePage : public CPropertyPageEx, protected CommonDialogFunctions<CPropertyPageEx>
28 DECLARE_DYNAMIC(CFirstStartWizardBasePage)
29 public:
30 CFirstStartWizardBasePage()
31 : CPropertyPageEx()
32 , CommonDialogFunctions(this)
34 explicit CFirstStartWizardBasePage(UINT nIDTemplate, UINT nIDCaption = 0)
35 : CPropertyPageEx(nIDTemplate, nIDCaption, (UINT)0)
36 , CommonDialogFunctions(this)
38 explicit CFirstStartWizardBasePage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0)
39 : CPropertyPageEx(lpszTemplateName, nIDCaption, (UINT)0)
40 , CommonDialogFunctions(this)
43 virtual ~CFirstStartWizardBasePage() {}
44 virtual bool OkToCancel() { return true; }