From 843a07d22e4d3a4ae58717a75d863ea28e33de95 Mon Sep 17 00:00:00 2001 From: John Peterson Date: Thu, 27 Aug 2009 10:21:51 +0000 Subject: [PATCH] GUI: Remove toolbar from fullscreen git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4076 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/Frame.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Source/Core/DolphinWX/Src/Frame.cpp b/Source/Core/DolphinWX/Src/Frame.cpp index 356b8fbf0b..aad6f9e171 100644 --- a/Source/Core/DolphinWX/Src/Frame.cpp +++ b/Source/Core/DolphinWX/Src/Frame.cpp @@ -428,18 +428,6 @@ CFrame::CFrame(bool showLogWindow, m_Mgr->AddPane(m_Panel, wxAuiPaneInfo().Name(wxT("Pane0")).Caption(wxT("Pane0")).Hide()); m_Mgr->AddPane(m_NB0, wxAuiPaneInfo().Name(wxT("Pane1")).Caption(wxT("Pane1")).Hide()); } - - // Create toolbar - RecreateToolbar(); - if (!SConfig::GetInstance().m_InterfaceToolbar) DoToggleToolbar(false); - - // Show titles to position the panes - /* - m_Mgr->GetPane(wxT("Pane0")).CaptionVisible(true); - m_Mgr->GetPane(wxT("Pane1")).CaptionVisible(true); - m_Mgr->GetPane(wxT("Pane2")).CaptionVisible(true); - m_Mgr->GetPane(wxT("Pane3")).CaptionVisible(true); - */ if (UseDebugger) { @@ -474,6 +462,18 @@ CFrame::CFrame(bool showLogWindow, AuiFullscreen = m_Mgr->SavePerspective(); m_Mgr->GetPane(wxT("Pane1")).Hide().PaneBorder(false).CaptionVisible(false).Layer(0).Right(); } + + // Create toolbar + RecreateToolbar(); + if (!SConfig::GetInstance().m_InterfaceToolbar) DoToggleToolbar(false); + + // Show titles to position the panes + /* + m_Mgr->GetPane(wxT("Pane0")).CaptionVisible(true); + m_Mgr->GetPane(wxT("Pane1")).CaptionVisible(true); + m_Mgr->GetPane(wxT("Pane2")).CaptionVisible(true); + m_Mgr->GetPane(wxT("Pane3")).CaptionVisible(true); + */ // Show window Show();