Fix typos
[TortoiseGit.git] / src / TortoiseIDiff / AboutDlg.h
blobea779fcb12c2bc2d6a360e21dfaf6e33edfda7dc
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2023 - TortoiseGit
4 // Copyright (C) 2007, 2013, 2020 - TortoiseSVN
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software Foundation,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
20 #include "BaseDialog.h"
22 /**
23 * \ingroup TortoiseIDiff
24 * about dialog.
26 class CAboutDlg : public CDialog
28 public:
29 CAboutDlg(HWND hParent);
30 ~CAboutDlg();
32 void SetHiddenWnd(HWND hWnd) {m_hHiddenWnd = hWnd;}
33 protected:
34 LRESULT CALLBACK DlgFunc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) override;
35 LRESULT DoCommand(int id);
37 private:
38 HWND m_hParent = nullptr;
39 HWND m_hHiddenWnd = nullptr;
40 int m_themeCallbackId = 0;