Make sure infobar gets created earlier.

restoreLastFootprint() might want it.

(cherry picked from commit 4fc6047f91)
This commit is contained in:
Jeff Young 2023-06-11 11:02:53 +01:00
parent 7d30a2bc54
commit cfb59094fe
1 changed files with 2 additions and 2 deletions

View File

@ -128,6 +128,8 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
SetIcons( icon_bundle ); SetIcons( icon_bundle );
CreateInfoBar();
// Create GAL canvas // Create GAL canvas
m_canvasType = loadCanvasTypeSetting(); m_canvasType = loadCanvasTypeSetting();
@ -195,8 +197,6 @@ FOOTPRINT_EDIT_FRAME::FOOTPRINT_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
m_auimgr.SetManagedWindow( this ); m_auimgr.SetManagedWindow( this );
CreateInfoBar();
unsigned int auiFlags = wxAUI_MGR_DEFAULT; unsigned int auiFlags = wxAUI_MGR_DEFAULT;
#if !defined( _WIN32 ) #if !defined( _WIN32 )
// Windows cannot redraw the UI fast enough during a live resize and may lead to all kinds // Windows cannot redraw the UI fast enough during a live resize and may lead to all kinds