Patches item #1449736, was opened at 2006-03-15 04:09
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551956&aid=1449736&group_id=78018
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: kxroberto (kxroberto)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for #1048355: DestroyWindow causes memory access err..
Initial Comment:
This small patch solves #1048355 :
After e.g. a call to Python_OnNotify or
Python_OnCmdMsg the MFC window may be already gone (by
WM_DESTROY stuff etc.) and a call to "return
T::OnNotify (wParam, lParam, pResult);" crashes with
mem.access error etc.
Solves reproducably problems with win32ui-apps which
use PyCWnd.DestroyWindow etc.
(and most probably solves also some crashes on
Pythonwin IDE exits with certain windows open regarding
my statistical brain as I got those crashes no more
after applying this patch )
patches 4 locations
Robert
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2006-03-20 11:28
Message:
Logged In: YES
user_id=14198
Thanks!
Checking in pythonpsheet.cpp;
new revision: 1.3; previous revision: 1.2
Checking in win32uiExt.h;
new revision: 1.9; previous revision: 1.8
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551956&aid=1449736&group_id=78018
|