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
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.
11 # define WINVER 0x0501
14 # define _WIN32_WINNT 0x0501
16 #ifndef _WIN32_WINDOWS
17 # define _WIN32_WINDOWS 0x0501
23 #define _WIN32_IE 0x0501
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
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
45 #include <afxext.h> // MFC extensions
46 #include <afxcontrolbars.h> // MFC support for ribbons and control bars
51 #ifndef LVS_EX_DOUBLEBUFFER
52 #define LVS_EX_DOUBLEBUFFER 0x00010000
57 #pragma warning(disable: 4702) // Unreachable code warnings in xtree
66 #pragma warning(disable: 4201) // nonstandard extension used : nameless struct/union (in MMSystem.h)
84 #define USE_GDI_GRADIENT
85 #define HISTORYCOMBO_WITH_SYSIMAGELIST
87 #include "ProfilingInfo.h"
91 # define APP_X64_STRING "x64"
93 # define APP_X64_STRING ""
96 #pragma warning(disable: 4512) // assignment operator could not be generated
97 #pragma warning(disable: 4355) // used in base member initializer list