WX: Fix 'renderer has focus' returning false after start
The main window was already active, so the activate event was never emitted, and m_renderer_has_focus was never changed.
This commit is contained in:
parent
ba57605266
commit
f0aa454662
|
@ -654,6 +654,7 @@ void CFrame::StartGame(std::unique_ptr<BootParameters> boot)
|
|||
m_game_list_ctrl->Disable();
|
||||
m_game_list_ctrl->Hide();
|
||||
|
||||
m_renderer_has_focus = true;
|
||||
m_render_parent = m_panel;
|
||||
m_render_frame = this;
|
||||
if (SConfig::GetInstance().bKeepWindowOnTop)
|
||||
|
|
Loading…
Reference in New Issue