diff options
| author | John Peterson <jpeterson57@gmail.com> | 2009-08-31 23:09:50 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2009-08-31 23:09:50 +0000 |
| commit | 4272d7cd99ac7dae12765a4d2039479c078b8358 (patch) | |
| tree | 9d2d4d6773f921a79d9d8102e6a32031895a8b37 /Source/Core/DebuggerWX/Src/CodeWindow.cpp | |
| parent | 3db8bf77744bb5c5026bf84745a0a265136ca6c1 (diff) | |
GUI: No need to remove the log window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4131 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindow.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index 4835dab9e4..1b3588f263 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -208,6 +208,11 @@ void CCodeWindow::OnHostMessage(wxCommandEvent& event) case IDM_NOTIFYMAPLOADED: NotifyMapLoaded(); break; + /* + case IDM_UPDATELOGDISPLAY: + if (m_LogWindow) m_LogWindow->NotifyUpdate(); + break; + */ case IDM_UPDATEDISASMDIALOG: Update(); if (m_RegisterWindow) m_RegisterWindow->NotifyUpdate(); @@ -437,6 +442,7 @@ void CCodeWindow::Load() std::string _Section = StringFromFormat("P - %s", (Parent->ActivePerspective < Parent->Perspectives.size()) ? Parent->Perspectives.at(Parent->ActivePerspective).Name.c_str() : ""); + ini.Get(_Section.c_str(), "Log", &iLogWindow, 1); ini.Get(_Section.c_str(), "Console", &iConsoleWindow, 1); ini.Get(_Section.c_str(), "Code", &iCodeWindow, 1); ini.Get(_Section.c_str(), "Registers", &iRegisterWindow, 1); @@ -472,6 +478,7 @@ void CCodeWindow::Save() std::string _Section = StringFromFormat("P - %s", (Parent->ActivePerspective < Parent->Perspectives.size()) ? Parent->Perspectives.at(Parent->ActivePerspective).Name.c_str() : ""); + ini.Set(_Section.c_str(), "Log", iLogWindow); ini.Set(_Section.c_str(), "Console", iConsoleWindow); ini.Set(_Section.c_str(), "Code", iCodeWindow); ini.Set(_Section.c_str(), "Registers", iRegisterWindow); @@ -909,4 +916,4 @@ void CCodeWindow::OnStatusBar_(wxUpdateUIEvent& event) //if(event.GetId() != IDM_ADDRBOX) DoTip(wxEmptyString); #endif } -///////////////////////////////////////////////////////////////////////////////////////////////////////// +/////////////////////////////////////////////////////////////////////////////////////////////////////////
\ No newline at end of file |
