forked from Travis-Sun/pywin32
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstdafx.h
More file actions
61 lines (48 loc) · 1.65 KB
/
stdafx.h
File metadata and controls
61 lines (48 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#define WIN32_LEAN_AND_MEAN
#ifndef WINVER
// we don't need this, but vs2009 makes noise without it set to something -
// and this is what we currently use...
#define WINVER 0x0600
#endif
#include <afxwin.h> // MFC core and standard components
#if (_MFC_VER < 0x0600)
// See pythonpsheet.cpp for more details!
#define _WIN32_IE 0x0300 // Screw up with header sizes and MFC!!
#endif
#include <afxext.h> // MFC extensions
#include <afxcmn.h> // common controls.
#include <afxrich.h> // rich edit support.
#include <afxcview.h> // control view support.
#include <afxpriv.h> // private MFC stuff!
#include <afxtempl.h> // for collection templates.
#include <afxmt.h> // multi-threading
#include "limits.h"
// allow memory leaks to give me the line number.
//#define new DEBUG_NEW
/* dont really need to undef these anymore, but helpful to
programmers who forget to use the new names. */
#undef INCREF
#undef DECREF
// windows defines "small" as "char" which breaks Python's accu.h
#undef small
#include "Python.h"
#include "modsupport.h"
#include "traceback.h"
#include "pythonrun.h"
#include "import.h" // Python: for dynamicattach routines.
#include "graminit.h"
#include "pywintypes.h"
// dont need all of these for all, but it cant hurt (and keep the speed up!)
#include "win32ui.h"
#include "win32uiExt.h"
#include "pythonframe.h"
#include "pythonview.h" // App: Edit View.
#include "pythondoc.h"
#include "win32assoc.h"
#include "win32cmd.h"
#include "win32app.h"
// --- EOF --- //