[pywin32-checkins] pywin32/Pythonwin win32uimodule.cpp,1.34,1.35
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2007-07-13 03:02:51
|
Update of /cvsroot/pywin32/pywin32/Pythonwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10252 Modified Files: win32uimodule.cpp Log Message: Allow us to build when MFC has no Ctrl3d support (ie, when _AFX_NO_CTL3D_SUPPORT is defined), such as in the early Vista SDKs Index: win32uimodule.cpp =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uimodule.cpp,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** win32uimodule.cpp 3 Jun 2007 12:35:58 -0000 1.34 --- win32uimodule.cpp 13 Jul 2007 03:02:50 -0000 1.35 *************** *** 956,960 **** --- 956,965 ---- if (!pApp) return NULL; GUI_BGN_SAVE; + #ifdef _AFX_NO_CTL3D_SUPPORT + // This is defined for _WIN64 in earlier SDKs. + int rc = 0; + #else int rc = pApp->Enable3dControls(); + #endif GUI_END_SAVE; |