From dd77e27ec59c0a1d4b0c4cfe133d25cd0db49e66 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 10 Mar 2005 04:20:36 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5620 --- clientgui/MainFrame.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index 71851bf9b5..12cf1488ab 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -113,10 +113,12 @@ CMainFrame::CMainFrame(wxString strTitle) : m_pFrameRenderTimer->Start(1000); // Send event every 1 second m_pFrameListPanelRenderTimer->Start(5000); // Send event every 5 seconds - SetStatusBarPane(0); - RestoreState(); + SetStatusBarPane(0); + PositionStatusBar(); + SendSizeEvent(); + wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::CMainFrame - Function End")); } @@ -355,8 +357,6 @@ bool CMainFrame::CreateStatusbar() m_ptxtDisconnect = new wxStaticText(m_pStatusbar, -1, _("Disconnected"), wxPoint(0, 0), wxDefaultSize, wxALIGN_LEFT ); m_ptxtDisconnect->Hide(); - SendSizeEvent(); - wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::CreateStatusbar - Function End")); return true; } @@ -403,8 +403,6 @@ bool CMainFrame::DeleteStatusbar() delete m_pStatusbar; m_pStatusbar = NULL; - SendSizeEvent(); - wxLogTrace(wxT("Function Start/End"), wxT("CMainFrame::DeleteStatusbar - Function End")); return true; }