summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-06-24 10:43:46 +0200
committerPierre Bourdon <delroth@gmail.com>2016-06-24 10:43:46 +0200
commit3570c7f03a2aa90aa634f96c0af1969af610f14d (patch)
tree4252e03c0e853ba7cffe022937698c854ad0eaa9 /Source/Core/DolphinWX/Debugger/RegisterWindow.cpp
parent2115e8a4a6814e32107b5205ff5c95bbd3c6e99c (diff)
Reformat all the things. Have fun with merge conflicts.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/RegisterWindow.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/RegisterWindow.cpp24
1 files changed, 11 insertions, 13 deletions
diff --git a/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp b/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp
index f9ec364204..03d1afbab8 100644
--- a/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp
+++ b/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp
@@ -10,27 +10,25 @@
#include "DolphinWX/Debugger/RegisterView.h"
#include "DolphinWX/Debugger/RegisterWindow.h"
-CRegisterWindow::CRegisterWindow(wxWindow* parent, wxWindowID id,
- const wxPoint& position, const wxSize& size,
- long style, const wxString& name)
- : wxPanel(parent, id, position, size, style, name)
- , m_GPRGridView(nullptr)
+CRegisterWindow::CRegisterWindow(wxWindow* parent, wxWindowID id, const wxPoint& position,
+ const wxSize& size, long style, const wxString& name)
+ : wxPanel(parent, id, position, size, style, name), m_GPRGridView(nullptr)
{
- CreateGUIControls();
+ CreateGUIControls();
}
void CRegisterWindow::CreateGUIControls()
{
- wxBoxSizer *sGrid = new wxBoxSizer(wxVERTICAL);
- m_GPRGridView = new CRegisterView(this);
- sGrid->Add(m_GPRGridView, 1, wxGROW);
- SetSizer(sGrid);
+ wxBoxSizer* sGrid = new wxBoxSizer(wxVERTICAL);
+ m_GPRGridView = new CRegisterView(this);
+ sGrid->Add(m_GPRGridView, 1, wxGROW);
+ SetSizer(sGrid);
- NotifyUpdate();
+ NotifyUpdate();
}
void CRegisterWindow::NotifyUpdate()
{
- if (m_GPRGridView != nullptr)
- m_GPRGridView->Update();
+ if (m_GPRGridView != nullptr)
+ m_GPRGridView->Update();
}