Update of /cvsroot/pywin32/pywin32/Pythonwin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28071
Modified Files:
win32uiExt.h
Log Message:
Ignore strange C++ exception when tearing down our docking toolbars
under VC7
Index: win32uiExt.h
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uiExt.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** win32uiExt.h 20 Jan 2004 22:28:58 -0000 1.4
--- win32uiExt.h 24 Sep 2004 07:34:08 -0000 1.5
***************
*** 147,151 ****
}
void _BaseOnClose() {
! T::OnClose();
}
afx_msg void OnPaletteChanged(CWnd* pFocusWnd) {
--- 147,158 ----
}
void _BaseOnClose() {
! __try {
! T::OnClose();
! }
! __except (EXCEPTION_EXECUTE_HANDLER) {
! // *sob* - no idea what is causing this in VC7 (other than vaguely
! // "docking toolbars"
! ;
! }
}
afx_msg void OnPaletteChanged(CWnd* pFocusWnd) {
|