Fixed issue #3307: Abort Merge on a single file always results in a parameter error...
[TortoiseGit.git] / src / TortoiseProc / FirstStartWizardLanguage.h
blobc3b13ad91c075954974460074ce15c0e327a35b6
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 "FirstStartWizardBasePage.h"
21 #include "HyperLink.h"
23 /**
24 * First page in the first start wizard
26 class CFirstStartWizardLanguage : public CFirstStartWizardBasePage
28 DECLARE_DYNAMIC(CFirstStartWizardLanguage)
30 public:
31 CFirstStartWizardLanguage();
32 virtual ~CFirstStartWizardLanguage();
34 enum { IDD = IDD_FIRSTSTARTWIZARD_LANGUAGE };
36 protected:
37 virtual void DoDataExchange(CDataExchange* pDX) override;
38 virtual BOOL OnInitDialog() override;
39 virtual BOOL OnSetActive() override;
40 virtual LRESULT OnWizardNext() override;
41 afx_msg LRESULT OnDialogDisplayed(WPARAM wParam, LPARAM lParam);
42 afx_msg void OnClickedLink(NMHDR* pNMHDR, LRESULT* pResult);
43 afx_msg void OnBnClickedRefresh();
45 DECLARE_MESSAGE_MAP()
47 CComboBox m_LanguageCombo;
48 CRegDWORD m_regLanguage;
49 DWORD m_dwLanguage;
51 CHyperLink m_link;