Fix compile error on Linux and MSW.

This commit is contained in:
Jeff Young
2020-12-22 21:53:46 +00:00
parent 47ea51ec34
commit 9bc7aff3d0
+1 -1
View File
@@ -688,7 +688,7 @@ void EDA_BASE_FRAME::CreateInfoBar()
#if defined( __WXOSX_MAC__ )
m_infoBar = new WX_INFOBAR( GetToolCanvas() );
#else
m_infoBar = new WX_INFOBAR( this, m_auimgr );
m_infoBar = new WX_INFOBAR( this, &m_auimgr );
m_auimgr.AddPane( m_infoBar, EDA_PANE().InfoBar().Name( "InfoBar" ).Top().Layer(1) );
#endif