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