implementing delayed freezing, fixes #12865

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-11-19 13:06:01 +00:00
parent 092e08a844
commit f321d0bc0c

View File

@ -2125,6 +2125,9 @@ void wxWidgetCocoaImpl::Embed( wxWidgetImpl *parent )
NSView* container = parent->GetWXWidget() ;
wxASSERT_MSG( container != NULL , wxT("No valid mac container control") ) ;
[container addSubview:m_osxView];
if( m_wxPeer->IsFrozen() )
[[m_osxView window] disableFlushWindow];
}
void wxWidgetCocoaImpl::SetBackgroundColour( const wxColour &col )