From 560769ad5df241e391fb7a273f71b9f5d8ab1d6f Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Fri, 8 Jan 2016 11:51:05 -0700 Subject: [PATCH] DolphinWX: Fix window growing on every relaunch Fixes part of #8993 -- the window would grow slightly on every re-launch because the size was set before the UI was fully initialized. --- Source/Core/DolphinWX/Frame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 4972bb6b4e..7c7c08f94f 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -469,6 +469,9 @@ CFrame::CFrame(wxFrame* parent, ToggleLogConfigWindow(true); } + // Set the size of the window after the UI has been built, but before we show it + SetSize(size); + // Show window Show();