Fetch+Rebase: Don't error out if no remote tracked branch is configured for current...
[TortoiseGit.git] / src / TortoiseProc / FirstStartWizardLanguage.h
blobf6198835a075337e24ea9c57876c8ac1262036e2
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);
38 virtual BOOL OnInitDialog();
39 virtual BOOL OnSetActive();
40 virtual LRESULT OnWizardNext();
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;