GUI: Fix to commit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4080 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2009-08-27 15:54:30 +00:00
parent 7b5b911c34
commit 910007ef4f
1 changed files with 5 additions and 2 deletions

View File

@ -442,6 +442,11 @@ CFrame::CFrame(bool showLogWindow,
m_Mgr->GetPane(wxT("Pane0")).CenterPane().PaneBorder(false); m_Mgr->GetPane(wxT("Pane0")).CenterPane().PaneBorder(false);
AuiFullscreen = m_Mgr->SavePerspective(); AuiFullscreen = m_Mgr->SavePerspective();
} }
else
{
m_Mgr->GetPane(wxT("Pane0")).Show().PaneBorder(false).CaptionVisible(false).Layer(0).Center();
AuiFullscreen = m_Mgr->SavePerspective();
}
// Create toolbar // Create toolbar
RecreateToolbar(); RecreateToolbar();
@ -473,8 +478,6 @@ CFrame::CFrame(bool showLogWindow,
} }
else else
{ {
m_Mgr->GetPane(wxT("Pane0")).Show().PaneBorder(false).CaptionVisible(false).Layer(0).Center();
AuiFullscreen = m_Mgr->SavePerspective();
m_Mgr->GetPane(wxT("Pane1")).Hide().PaneBorder(false).CaptionVisible(false).Layer(0).Right(); m_Mgr->GetPane(wxT("Pane1")).Hide().PaneBorder(false).CaptionVisible(false).Layer(0).Right();
} }