summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Frame.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-02-23 02:38:46 -0500
committerLioncash <mathew1800@gmail.com>2014-02-23 03:12:24 -0500
commit8d57f38be7af319cfecc450bd183d9c7932664c8 (patch)
tree6e1d54e325bfcc2aeae486dd27fa02947962569b /Source/Core/DolphinWX/Frame.cpp
parentd45351a43fcdb132b966999b024878a2e799f659 (diff)
Purge wx elements of the console.
Diffstat (limited to 'Source/Core/DolphinWX/Frame.cpp')
-rw-r--r--Source/Core/DolphinWX/Frame.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp
index d348c5617f..abb35f390f 100644
--- a/Source/Core/DolphinWX/Frame.cpp
+++ b/Source/Core/DolphinWX/Frame.cpp
@@ -310,14 +310,13 @@ CFrame::CFrame(wxFrame* parent,
for (int i = 0; i <= IDM_CODEWINDOW - IDM_LOGWINDOW; i++)
bFloatWindow[i] = false;
- if (ShowLogWindow) SConfig::GetInstance().m_InterfaceLogWindow = true;
-
- // Give it a console early to show potential messages from this onward
- ConsoleListener *Console = LogManager::GetInstance()->GetConsoleListener();
- if (SConfig::GetInstance().m_InterfaceConsole) Console->Open();
+ if (ShowLogWindow)
+ SConfig::GetInstance().m_InterfaceLogWindow = true;
// Start debugging maximized
- if (UseDebugger) this->Maximize(true);
+ if (UseDebugger)
+ this->Maximize(true);
+
// Debugger class
if (UseDebugger)
{
@@ -392,8 +391,6 @@ CFrame::CFrame(wxFrame* parent,
ToggleLogWindow(true);
if (SConfig::GetInstance().m_InterfaceLogConfigWindow)
ToggleLogConfigWindow(true);
- if (SConfig::GetInstance().m_InterfaceConsole)
- ToggleConsole(true);
}
// Show window
@@ -681,7 +678,6 @@ void CFrame::OnRenderWindowSizeRequest(int width, int height)
// Add space for the log/console/debugger window
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bRenderToMain &&
(SConfig::GetInstance().m_InterfaceLogWindow ||
- SConfig::GetInstance().m_InterfaceConsole ||
SConfig::GetInstance().m_InterfaceLogConfigWindow) &&
!m_Mgr->GetPane(wxT("Pane 1")).IsFloating())
{