From 586f24645ac913071ca8c8415f16f531f3353972 Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Tue, 27 Jul 2010 02:39:12 +0000 Subject: Fix an issue using render to main in combination with the log window or console window, in which the renderer was not resized when the panes were resized. Also refresh the log window at that time so artifacts are cleared. A little more code cleanup of the debugger windows. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5983 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp') diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp index 78da3fce65..c636541c9c 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp @@ -107,7 +107,7 @@ void CCodeWindow::Load() // Get notebook affiliation std::string _Section = "P - " + ((Parent->ActivePerspective < Parent->Perspectives.size()) - ? Parent->Perspectives.at(Parent->ActivePerspective).Name : "Perspective 1"); + ? Parent->Perspectives[Parent->ActivePerspective].Name : "Perspective 1"); for (int i = 0; i <= IDM_CODEWINDOW - IDM_LOGWINDOW; i++) ini.Get(_Section.c_str(), SettingName[i], &iNbAffiliation[i], 0); @@ -146,7 +146,7 @@ void CCodeWindow::Save() ini.Set("ShowOnStart", SettingName[i - IDM_LOGWINDOW], GetMenuBar()->IsChecked(i)); // Save notebook affiliations - std::string _Section = "P - " + Parent->Perspectives.at(Parent->ActivePerspective).Name; + std::string _Section = "P - " + Parent->Perspectives[Parent->ActivePerspective].Name; for (int i = 0; i <= IDM_CODEWINDOW - IDM_LOGWINDOW; i++) ini.Set(_Section.c_str(), SettingName[i], iNbAffiliation[i]); -- cgit v1.2.3