diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-07-27 02:39:12 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-07-27 02:39:12 +0000 |
| commit | 586f24645ac913071ca8c8415f16f531f3353972 (patch) | |
| tree | a608d46f3ee44cb033d1b874f22b59ef8dc212a8 /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | |
| parent | 99ffecd6754c1217c71efa084291a4da1057a1d2 (diff) | |
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
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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]); |
