change frame.SetFocus to use argument