Fix incorrect parent of a separator in a toolbar

This commit is contained in:
jean-pierre charras 2018-08-09 19:55:16 +02:00
parent 0e946dad1a
commit 64eaaa4f58
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ void GERBVIEW_FRAME::ReCreateVToolbar( void )
// Set up toolbar
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString,
KiScaledBitmap( cursor_xpm, this ) );
KiScaledSeparator( m_mainToolBar, this );
KiScaledSeparator( m_drawToolBar, this );
m_drawToolBar->Realize();
}
@ -222,7 +222,7 @@ void GERBVIEW_FRAME::ReCreateOptToolbar( void )
wxITEM_CHECK );
}
KiScaledSeparator( m_mainToolBar, this );
KiScaledSeparator( m_optionsToolBar, this );
m_optionsToolBar->AddTool( ID_TB_OPTIONS_SHOW_GRID, wxEmptyString,
KiScaledBitmap( grid_xpm, this ),