Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1:/tmp/cvs-serv19782
Modified Files:
win32uiole.cpp
Log Message:
New version of MFC means we can avoid private MFC headers!
Index: win32uiole.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uiole.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** win32uiole.cpp 12 Nov 2003 00:12:31 -0000 1.3
--- win32uiole.cpp 20 Jan 2004 22:27:16 -0000 1.4
***************
*** 13,21 ****
--- 13,25 ----
#include "afxdao.h"
+ #if _MFC_VER >= 0x0700
+ #include "afxocc.h"
// Sorry about this - OLE support needs MFC private header.
// You MUST install MFC with source-code to build this extension.
// (and this source must be in "../src" relative to the MFC
// includes, which it is by default)
+ #else
#include "..\src\occimpl.h"
+ #endif /* _MFC_VER */
extern PyObject *PyCOleClientItem_Create(PyObject *self, PyObject *args);
|