From d91972813874e87a4fa3b303d59ad87d1dd3fc46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ed=C3=AAnis=20Freindorfer=20Azevedo?= Date: Wed, 3 Apr 2019 06:17:08 -0300 Subject: [PATCH] Fix for resizing window geometry when loading games. --- src/wx/panel.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wx/panel.cpp b/src/wx/panel.cpp index 83e053bf..7f40b18b 100644 --- a/src/wx/panel.cpp +++ b/src/wx/panel.cpp @@ -302,7 +302,8 @@ void GameArea::LoadGame(const wxString& name) loaded = t; SetFrameTitle(); SetFocus(); - AdjustSize(true); + // Use custom geometry + AdjustSize(false); emulating = true; was_paused = true; MainFrame* mf = wxGetApp().frame;