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:
@@ -1817,6 +1817,9 @@ void wxWidgetCocoaImpl::Init()
|
||||
|
||||
wxWidgetCocoaImpl::~wxWidgetCocoaImpl()
|
||||
{
|
||||
if ( GetWXPeer() && GetWXPeer()->IsFrozen() )
|
||||
[[m_osxView window] enableFlushWindow];
|
||||
|
||||
RemoveAssociations( this );
|
||||
|
||||
if ( !IsRootControl() )
|
||||
|
Reference in New Issue
Block a user