Move setting of the wxPyDoingCleanup flag up to wxPyApp::~wxPyApp in order to avoid...
authorRD <RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775>
Wed, 14 Apr 2010 01:03:34 +0000 (01:03 +0000)
committerRD <RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775>
Wed, 14 Apr 2010 01:03:34 +0000 (01:03 +0000)
commitc64e8b6cb4e1bdac41620ead09943515b155aed0
treec4a82112a251730594594151102ee92b9eb954ed
parent6d2bee3898115c66789ddbd939fc349511c2ccb7
Move setting of the wxPyDoingCleanup flag up to wxPyApp::~wxPyApp in order to avoid crashes when deleting custom wxPyEvents that may be stuck in the pending event queue.  Fixes #11936.

git-svn-id: http://svn.wxwidgets.org/svn/wx/wxPython/branches/WX_2_8_BRANCH@63972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/helpers.cpp