diff options
| author | John Peterson <jpeterson57@gmail.com> | 2009-08-31 05:56:30 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2009-08-31 05:56:30 +0000 |
| commit | 30c87e48225e67b5b26204510b8bf6c3369fdf30 (patch) | |
| tree | 080701774fb1963ab731494ea86939c98a4cf79e /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | |
| parent | 718c88ff6a4befba4b6d393670b5a0d071fea757 (diff) | |
GUI: Better perspective saving, bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4114 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp index 08634f81bf..f9f679c0ef 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp @@ -325,12 +325,7 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event) ///////////////////////////////////////////////////////////////////////////////////////////////////////// // Toogle windows // ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ -int CCodeWindow::Limit(int i, int Low, int High) -{ - if (i < Low) return Low; - if (i > High) return High; - return i; -} + void CCodeWindow::OpenPages() { Parent->DoToggleWindow(IDM_CODEWINDOW, true); @@ -369,7 +364,7 @@ void CCodeWindow::OnToggleBreakPointWindow(bool Show, int i) { if (Show) { - if (!m_RegisterWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent); + if (!m_BreakpointWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent); Parent->DoAddPage(m_BreakpointWindow, i, "Breakpoints"); } else // hide |
