diff options
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 |
