summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorJohn Peterson <jpeterson57@gmail.com>2009-08-29 06:08:14 +0000
committerJohn Peterson <jpeterson57@gmail.com>2009-08-29 06:08:14 +0000
commit508051ec8d74d4315a7992e632a4e2b5b6fed417 (patch)
treecfc717e7593a773ab47cc88cf13ff3b168463d8f /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
parent90d979554c63ff869c286a244ecc01ee3519d05d (diff)
GUI: Resize console and its buffer
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4090 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
index 940310b3cd..ae1b0a8697 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
@@ -333,16 +333,12 @@ int CCodeWindow::Limit(int i, int Low, int High)
}
void CCodeWindow::OpenPages()
{
- ConsoleListener* Console = LogManager::GetInstance()->getConsoleListener();
- Console->Log(LogTypes::LNOTICE, StringFromFormat(
- "OpenPages:%i %i\n", iRegisterWindow, iBreakpointWindow).c_str());
-
- if (bRegisterWindow) Parent->DoToggleWindow(IDM_REGISTERWINDOW, bRegisterWindow);
- if (bBreakpointWindow) Parent->DoToggleWindow(IDM_BREAKPOINTWINDOW, bBreakpointWindow);
- if (bMemoryWindow) Parent->DoToggleWindow(IDM_MEMORYWINDOW, bMemoryWindow);
- if (bJitWindow) Parent->DoToggleWindow(IDM_JITWINDOW, bJitWindow);
- if (bSoundWindow) Parent->DoToggleWindow(IDM_SOUNDWINDOW, bSoundWindow);
- if (bVideoWindow) Parent->DoToggleWindow(IDM_VIDEOWINDOW, bVideoWindow);
+ if (bRegisterWindow) Parent->DoToggleWindow(IDM_REGISTERWINDOW, true);
+ if (bBreakpointWindow) Parent->DoToggleWindow(IDM_BREAKPOINTWINDOW, true);
+ if (bMemoryWindow) Parent->DoToggleWindow(IDM_MEMORYWINDOW, true);
+ if (bJitWindow) Parent->DoToggleWindow(IDM_JITWINDOW, true);
+ if (bSoundWindow) Parent->DoToggleWindow(IDM_SOUNDWINDOW, true);
+ if (bVideoWindow) Parent->DoToggleWindow(IDM_VIDEOWINDOW, true);
}
void CCodeWindow::OnToggleWindow(wxCommandEvent& event)
{