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/MemoryWindow.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Source/Core/DebuggerWX/Src/MemoryWindow.cpp') diff --git a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp index 713a3e7809..09bf241d9b 100644 --- a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp +++ b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp @@ -119,10 +119,6 @@ CMemoryWindow::CMemoryWindow(wxWindow* parent, wxWindowID id, sizerBig->Fit(this); } -CMemoryWindow::~CMemoryWindow() -{ -} - void CMemoryWindow::Save(IniFile& _IniFile) const { // Prevent these bad values that can happen after a crash or hanging @@ -158,13 +154,13 @@ void CMemoryWindow::SetMemoryValue(wxCommandEvent& event) u32 val; if (!TryParseUInt(std::string("0x") + str_addr, &addr)) - { + { PanicAlert("Invalid Address: %s", str_addr.c_str()); return; } if (!TryParseUInt(std::string("0x") + str_val, &val)) - { + { PanicAlert("Invalid Value: %s", str_val.c_str()); return; } @@ -214,7 +210,7 @@ void CMemoryWindow::OnSymbolListChange(wxCommandEvent& event) { int index = symbols->GetSelection(); if (index >= 0) - { + { Symbol* pSymbol = static_cast(symbols->GetClientData(index)); if (pSymbol != NULL) { -- cgit v1.2.3