Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15653
Modified Files:
win32win.cpp
Log Message:
Add a couple of skipLookup's (see bug 1483482)
Index: win32win.cpp
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32win.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** win32win.cpp 13 Jul 2007 03:04:50 -0000 1.18
--- win32win.cpp 10 Feb 2008 06:20:51 -0000 1.19
***************
*** 264,268 ****
CHECK_NO_ARGS(args);
CWnd *pWnd = new CPythonWndFramework< CWnd >();
! PyCWnd *pRet = (PyCWnd *)ui_assoc_object::make( PyCWnd::type, pWnd );
// We explicitly created this CWnd, so we must explicitly nuke it!
if (pRet) {
--- 264,268 ----
CHECK_NO_ARGS(args);
CWnd *pWnd = new CPythonWndFramework< CWnd >();
! PyCWnd *pRet = (PyCWnd *)ui_assoc_object::make( PyCWnd::type, pWnd, TRUE );
// We explicitly created this CWnd, so we must explicitly nuke it!
if (pRet) {
***************
*** 3301,3305 ****
CPythonFrameWnd* pFrame = new CPythonFrameWnd;
GUI_END_SAVE;
! return ui_assoc_object::make(PyCFrameWnd::type, pFrame)->GetGoodRet();
// @rdesc The window object (not the OS window) created. An exception is raised if an error occurs.
}
--- 3301,3305 ----
CPythonFrameWnd* pFrame = new CPythonFrameWnd;
GUI_END_SAVE;
! return ui_assoc_object::make(PyCFrameWnd::type, pFrame, TRUE)->GetGoodRet();
// @rdesc The window object (not the OS window) created. An exception is raised if an error occurs.
}
|