summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/RegisterWindow.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2010-07-26 03:46:14 +0000
committerGlenn Rice <glennricster@gmail.com>2010-07-26 03:46:14 +0000
commit0eaa7352fd26ac2bd8ee72678e38e76093e8daf2 (patch)
tree7e736c53ddb7d0955428b4da7af32c13d198a138 /Source/Core/DebuggerWX/Src/RegisterWindow.cpp
parent37217d78574363ebc9e511ae1a35bab0e2cbb103 (diff)
More work on the FrameAui:
Added a default perspective for the debugger. Save all perspectives, and not just the active one. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5979 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/RegisterWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/RegisterWindow.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/Source/Core/DebuggerWX/Src/RegisterWindow.cpp b/Source/Core/DebuggerWX/Src/RegisterWindow.cpp
index 0771929f26..fd9b5634cc 100644
--- a/Source/Core/DebuggerWX/Src/RegisterWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/RegisterWindow.cpp
@@ -23,7 +23,6 @@
extern const char* GetGRPName(unsigned int index);
BEGIN_EVENT_TABLE(CRegisterWindow, wxPanel)
- EVT_CLOSE(CRegisterWindow::OnClose)
END_EVENT_TABLE()
@@ -34,17 +33,8 @@ CRegisterWindow::CRegisterWindow(wxWindow* parent, wxWindowID id, const wxString
CreateGUIControls();
}
-CRegisterWindow::~CRegisterWindow()
-{
-}
-
-
void CRegisterWindow::CreateGUIControls()
{
- //SetTitle(wxT("Registers"));
- //SetIcon(wxNullIcon);
- //Center();
-
wxBoxSizer *sGrid = new wxBoxSizer(wxVERTICAL);
m_GPRGridView = new CRegisterView(this, ID_GPR);
sGrid->Add(m_GPRGridView, 1, wxGROW);
@@ -54,13 +44,8 @@ void CRegisterWindow::CreateGUIControls()
NotifyUpdate();
}
-void CRegisterWindow::OnClose(wxCloseEvent& WXUNUSED (event))
-{
- Hide();
-}
-
void CRegisterWindow::NotifyUpdate()
-{
+{
if (m_GPRGridView != NULL)
{
m_GPRGridView->Update();