Merge pull request #5840 from leoetlino/wx-focus-fix

WX: Fix 'renderer has focus' returning false after start
This commit is contained in:
Leo Lam 2017-07-31 16:43:53 +08:00 committed by GitHub
commit c11172497f
1 changed files with 1 additions and 0 deletions

View File

@ -654,6 +654,7 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot)
m_game_list_ctrl->Disable(); m_game_list_ctrl->Disable();
m_game_list_ctrl->Hide(); m_game_list_ctrl->Hide();
m_renderer_has_focus = true;
m_render_parent = m_panel; m_render_parent = m_panel;
m_render_frame = this; m_render_frame = this;
if (SConfig::GetInstance().bKeepWindowOnTop) if (SConfig::GetInstance().bKeepWindowOnTop)