Merge pull request #5840 from leoetlino/wx-focus-fix
WX: Fix 'renderer has focus' returning false after start
This commit is contained in:
commit
c11172497f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue