Refactor rebase commit list: Don't fill list again and again when reordering commits
[TortoiseGit.git] / src / TortoiseProc / FirstStartWizardBasePage.h
blob5b8e86d62e5c6607a982e2afb70d5f8c5f80774c
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2016-2017 - 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 "CommonDialogFunctions.h"
22 /**
23 * base class for the merge wizard property pages
25 class CFirstStartWizardBasePage : public CPropertyPageEx, protected CommonDialogFunctions<CPropertyPageEx>
27 DECLARE_DYNAMIC(CFirstStartWizardBasePage)
28 public:
29 CFirstStartWizardBasePage()
30 : CPropertyPageEx()
31 , CommonDialogFunctions(this)
33 explicit CFirstStartWizardBasePage(UINT nIDTemplate, UINT nIDCaption = 0)
34 : CPropertyPageEx(nIDTemplate, nIDCaption, (UINT)0)
35 , CommonDialogFunctions(this)
37 explicit CFirstStartWizardBasePage(LPCTSTR lpszTemplateName, UINT nIDCaption = 0)
38 : CPropertyPageEx(lpszTemplateName, nIDCaption, (UINT)0)
39 , CommonDialogFunctions(this)
42 virtual ~CFirstStartWizardBasePage() {}
43 virtual bool OkToCancel() { return true; }