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