Changed screen to window. Moved UpdateGUI to a more general scope.

This commit is contained in:
Gerik Kubiak 2015-03-17 12:14:14 -07:00
parent 0a28f7de13
commit ae4e8b6358
2 changed files with 2 additions and 4 deletions

View File

@ -488,7 +488,7 @@ void CConfigMain::InitializeGUITooltips()
ConfirmStop->SetToolTip(_("Show a confirmation box before stopping a game."));
UsePanicHandlers->SetToolTip(_("Show a message box when a potentially serious error has occurred.\nDisabling this may avoid annoying and non-fatal messages, but it may result in major crashes having no explanation at all."));
OnScreenDisplayMessages->SetToolTip(_("Display messages over the emulation screen area.\nThese messages include memory card writes, video backend and CPU information, and JIT cache clearing."));
PauseOnFocusLost->SetToolTip(_("Pauses the emulator when focus is taken away from the emulation screen."));
PauseOnFocusLost->SetToolTip(_("Pauses the emulator when focus is taken away from the emulation window."));
InterfaceLang->SetToolTip(_("Change the language of the user interface.\nRequires restart."));

View File

@ -1188,8 +1188,6 @@ void CFrame::OnFocusChange(wxFocusEvent& event)
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bHideCursor)
m_RenderParent->SetCursor(wxCURSOR_BLANK);
}
UpdateGUI();
}
else
{
@ -1200,8 +1198,8 @@ void CFrame::OnFocusChange(wxFocusEvent& event)
m_RenderParent->SetCursor(wxNullCursor);
Core::UpdateTitle();
}
UpdateGUI();
}
UpdateGUI();
}
}