backport of r75966, make sure a frozen control calls a native 'thaw' on the tlw

during destruction, otherwise tlws might end up unresponsive, see #16011

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-02-22 09:08:19 +00:00
parent 0685209dc3
commit 7bc5e15b95

View File

@@ -1834,6 +1834,9 @@ void wxWidgetCocoaImpl::Init()
wxWidgetCocoaImpl::~wxWidgetCocoaImpl()
{
if ( GetWXPeer() && GetWXPeer()->IsFrozen() )
[[m_osxView window] enableFlushWindow];
RemoveAssociations( this );
if ( !IsRootControl() )