Make sure infobar gets created earlier.

restoreLastFootprint() might want it.
This commit is contained in:
Jeff Young 2023-06-11 11:02:53 +01:00
parent 3d1b96d6ca
commit 4fc6047f91
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();
@ -199,8 +201,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