protected override void SetRootInternal(int hvo)
{
// If the focus box is showing when we change the root object, we must get rid of it,
// otherwise strange things may happen as the pane is laid out and we get OnSizeChanged calls.
// The existing focus box can't be in any state that is useful to a different text, anyway.
TryHideFocusBoxAndUninstall();
base.SetRootInternal(hvo);
}