#9854 (AddPendingEvent - protect during wxEvtHandler destruction)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-08-22 09:18:30 +00:00
parent b503b036c1
commit de2fcf0332
2 changed files with 34 additions and 6 deletions

View File

@@ -2455,6 +2455,8 @@ protected:
// Is event handler enabled?
bool m_enabled;
// Avoid adding events from another thread during dtor
bool m_beingDeleted;
// The user data: either an object which will be deleted by the container