From d50c56c2e4ceb957f76d39b1fa0bd638109b5481 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 26 Feb 2015 09:58:33 -0500 Subject: [PATCH] DolphinWX: Remove an unnecessary sizer from the watch window The AUI manager already has the grid in place. Setting the sizer isn't needed. --- Source/Core/DolphinWX/Debugger/WatchWindow.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Core/DolphinWX/Debugger/WatchWindow.cpp b/Source/Core/DolphinWX/Debugger/WatchWindow.cpp index b82013bd99..4582c2fecf 100644 --- a/Source/Core/DolphinWX/Debugger/WatchWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/WatchWindow.cpp @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include @@ -70,10 +69,7 @@ CWatchWindow::CWatchWindow(wxWindow* parent, wxWindowID id, m_mgr.SetManagedWindow(this); m_mgr.SetFlags(wxAUI_MGR_DEFAULT | wxAUI_MGR_LIVE_RESIZE); - wxBoxSizer *sGrid = new wxBoxSizer(wxVERTICAL); m_GPRGridView = new CWatchView(this); - sGrid->Add(m_GPRGridView, 1, wxGROW); - SetSizer(sGrid); m_mgr.AddPane(new CWatchToolbar(this, wxID_ANY), wxAuiPaneInfo().ToolbarPane().Top(). LeftDockable(true).RightDockable(true).BottomDockable(false).Floatable(false));