private void WmSetFocus (ref Message m)
{
if (ActiveControl != null && ActiveControl != this) {
ActiveControl.Focus ();
return; // FIXME - do we need to run base.WndProc, even though we just changed focus?
}
if (IsMdiContainer) {
mdi_container.SendFocusToActiveChild ();
return;
}
base.WndProc (ref m);
}