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/trunk@75966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-02-21 19:05:22 +00:00
parent b481d43235
commit 633b5c691b

View File

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