From 3effe29202fc867ed7e2ad5df6bbe927372c2fe2 Mon Sep 17 00:00:00 2001 From: hyatt Date: Tue, 9 Jun 1998 21:46:19 +0000 Subject: [PATCH] Fix for status bar not appearing in a navigator window when Aurora is initially collapsed. (An SF1 In bug.) git-svn-id: svn://10.0.0.236/trunk@3566 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/winfe/framinit.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/mozilla/cmd/winfe/framinit.cpp b/mozilla/cmd/winfe/framinit.cpp index 0861b154e5b..d110d3ece06 100755 --- a/mozilla/cmd/winfe/framinit.cpp +++ b/mozilla/cmd/winfe/framinit.cpp @@ -284,14 +284,7 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) // appropriate) we can create the url bar. The animation // might need custom colors so we need the palette to be around // - CreateMainToolbar(); - - if (!theApp.m_bInGetCriticalFiles) { // if we are here, don't show link bar - CreateLocationBar(); - CreateLinkBar(); - GetChrome()->FinishedAddingBrowserToolbars(); - } - + LPNSSTATUSBAR pIStatusBar = NULL; GetChrome()->QueryInterface( IID_INSStatusBar, (LPVOID *) &pIStatusBar ); if( pIStatusBar ) @@ -302,6 +295,14 @@ int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) pIStatusBar->Show(FALSE); } + CreateMainToolbar(); + + if (!theApp.m_bInGetCriticalFiles) { // if we are here, don't show link bar + CreateLocationBar(); + CreateLinkBar(); + GetChrome()->FinishedAddingBrowserToolbars(); + } + if(!IsEditFrame()) { AddToMenuMap(FILEMENU, IDM_MAINFRAMEFILEMENU);