Skip to content

Commit

Permalink
Merge pull request #2135 from lioncash/sizer
Browse files Browse the repository at this point in the history
DolphinWX: Remove an unnecessary sizer from the watch window
  • Loading branch information
skidau committed Feb 26, 2015
2 parents 6f01b42 + d50c56c commit ae9a634
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/Core/DolphinWX/Debugger/WatchWindow.cpp
Expand Up @@ -9,7 +9,6 @@
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/string.h>
#include <wx/windowid.h>
#include <wx/aui/auibar.h>
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit ae9a634

Please sign in to comment.