Raise the scrollbars on reparenting (part of patch #9076)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3693,6 +3693,8 @@ bool wxWindowMac::Reparent(wxWindowBase *newParentBase)
|
|||||||
wxASSERT_MSG( container != NULL , wxT("No valid mac container control") ) ;
|
wxASSERT_MSG( container != NULL , wxT("No valid mac container control") ) ;
|
||||||
|
|
||||||
::EmbedControl( m_peer->GetControlRef() , container ) ;
|
::EmbedControl( m_peer->GetControlRef() , container ) ;
|
||||||
|
|
||||||
|
MacChildAdded();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user