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);