Make sure infobar gets created earlier.
restoreLastFootprint() might want it.
This commit is contained in:
parent
3d1b96d6ca
commit
4fc6047f91
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue