[pywin32-checkins] pywin32/Pythonwin win32uiExt.h,1.5,1.6
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2005-03-05 03:24:20
|
Update of /cvsroot/pywin32/pywin32/Pythonwin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19393 Modified Files: win32uiExt.h Log Message: Hopefully a final fix for "[ 944506 ] PythonWin Menus don't work" and many other bugs relating to the registry filling up with toolbar registry entries. The problem was the fact that the debugging package dynamically created docable toolbars. When pythonwin started for the first time, references to these debugging toolbars caused MFC to get upset, and left the "stale" entries for those toolbars in the list. Later, when a debugging session started, these toolbars again got new entries which were written to the registry along with the old ones. Next startup, the cycle started again (but this time creating even more new ones, ignoring even more stale ones) Also incorporates [ 1101347 ] Docking toolbar AV at shut down from Greg Chapman, which was also reflected in other bugs relating to the task-bar icon remaining and the MRU menus not updating in Python 2.4. Index: win32uiExt.h =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/win32uiExt.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** win32uiExt.h 24 Sep 2004 07:34:08 -0000 1.5 --- win32uiExt.h 5 Mar 2005 03:24:11 -0000 1.6 *************** *** 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) { --- 147,151 ---- |