Patch 1678304
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -970,6 +970,10 @@ wxTopLevelWindowMac::~wxTopLevelWindowMac()
|
|||||||
FullScreenData *data = (FullScreenData *) m_macFullScreenData ;
|
FullScreenData *data = (FullScreenData *) m_macFullScreenData ;
|
||||||
delete data ;
|
delete data ;
|
||||||
m_macFullScreenData = NULL ;
|
m_macFullScreenData = NULL ;
|
||||||
|
|
||||||
|
// avoid dangling refs
|
||||||
|
if ( s_macDeactivateWindow == this )
|
||||||
|
s_macDeactivateWindow = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user