From 0eaa7352fd26ac2bd8ee72678e38e76093e8daf2 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Mon, 26 Jul 2010 03:46:14 +0000 Subject: 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 --- Source/Core/DebuggerWX/Src/RegisterWindow.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'Source/Core/DebuggerWX/Src/RegisterWindow.cpp') 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(); -- cgit v1.2.3