Fixed issue #440: Don't enable 'Apply' button until the data are ok in Settings/Git...
[TortoiseGit.git] / src / TortoiseProc / stdafx.h
blob0e86d2dfc7ef92dc98167057d4bf405c608eeddd
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently,
3 // but are changed infrequently
5 #pragma once
6 #define XMESSAGEBOX_APPREGPATH "Software\\TortoiseGit\\"
8 // Modify the following defines if you have to target a platform prior to the ones specified below.
9 // Refer to MSDN for the latest info on corresponding values for different platforms.
10 #ifndef WINVER
11 # define WINVER 0x0501
12 #endif
13 #ifndef _WIN32_WINNT
14 # define _WIN32_WINNT 0x0501
15 #endif
16 #ifndef _WIN32_WINDOWS
17 # define _WIN32_WINDOWS 0x0501
18 #endif
22 #ifndef _WIN32_IE
23 #define _WIN32_IE 0x0501
24 #endif
26 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
28 // turns off MFC's hiding of some common and often safely ignored warning messages
29 #define _AFX_ALL_WARNINGS
31 #include <afxwin.h> // MFC core and standard components
32 #include <afxext.h> // MFC extensions
33 #include <WinSock2.h>
34 #include <Ws2tcpip.h>
35 #include <Wspiapi.h>
37 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
38 #ifndef _AFX_NO_AFXCMN_SUPPORT
39 #include <afxcmn.h> // MFC support for Windows Common Controls
40 #endif // _AFX_NO_AFXCMN_SUPPORT
41 #include <afxdlgs.h>
42 #include <afxctl.h>
43 #include <afxtempl.h>
44 #include <afxmt.h>
45 #include <afxext.h> // MFC extensions
46 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
48 #include <atlbase.h>
49 #include <gdiplus.h>
51 #ifndef LVS_EX_DOUBLEBUFFER
52 #define LVS_EX_DOUBLEBUFFER 0x00010000
53 #endif
56 #pragma warning(push)
57 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
58 #include <string>
59 #include <vector>
60 #include <map>
61 #include <set>
62 #include <algorithm>
63 #pragma warning(pop)
65 #pragma warning(push)
66 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
67 #include <vfw.h>
68 #include <shlobj.h>
69 #include <Shlwapi.h>
70 #include <shlguid.h>
71 #include <uxtheme.h>
72 #include <tmschema.h>
73 #include <dlgs.h>
74 #include <wininet.h>
75 #include <assert.h>
76 #include <math.h>
77 #include <gdiplus.h>
78 #pragma warning(pop)
81 #define __WIN32__
84 #define USE_GDI_GRADIENT
85 #define HISTORYCOMBO_WITH_SYSIMAGELIST
87 #include "ProfilingInfo.h"
88 #include <afxdhtml.h>
90 #ifdef _WIN64
91 # define APP_X64_STRING "x64"
92 #else
93 # define APP_X64_STRING ""
94 #endif
96 #pragma warning(disable: 4512) // assignment operator could not be generated
97 #pragma warning(disable: 4355) // used in base member initializer list