guarding against deleted 'self' during the mouse handler, setting peer ptr to NULL during destruction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-05-19 16:58:18 +00:00
parent cea11b591e
commit 1b3cba17e8
2 changed files with 7 additions and 2 deletions

View File

@@ -2875,6 +2875,7 @@ wxWidgetImpl::wxWidgetImpl()
wxWidgetImpl::~wxWidgetImpl()
{
m_wxPeer = NULL;
}
void wxWidgetImpl::Init()