FOOTPRINT_WIZARD_FRAME: ensure the draw panel is always visible, even if the config file is incorrect.

This commit is contained in:
jean-pierre charras 2018-08-10 13:44:21 +02:00
parent b764bb1d6d
commit c7d39d22db
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,8 @@ FOOTPRINT_WIZARD_FRAME::FOOTPRINT_WIZARD_FRAME( KIWAY* aKiway,
m_auimgr.GetPane( m_parametersPanel ).MinSize( wxSize( 360, 180 ) );
m_auimgr.LoadPerspective( m_auiPerspective );
// Ensure the draw panel is shown, regardless the perspective config:
m_auimgr.GetPane( wxT( "DrawFrame" ) ).Show( true );
// Now Drawpanel is sized, we can use BestZoom to show the component (if any)
#ifdef USE_WX_GRAPHICS_CONTEXT