Patch 1678304

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-05-01 11:55:02 +00:00
parent 9fbc9db0fa
commit 09ac36f80b

View File

@@ -970,6 +970,10 @@ wxTopLevelWindowMac::~wxTopLevelWindowMac()
FullScreenData *data = (FullScreenData *) m_macFullScreenData ;
delete data ;
m_macFullScreenData = NULL ;
// avoid dangling refs
if ( s_macDeactivateWindow == this )
s_macDeactivateWindow = NULL;
}