Cleanup a change I made for debug purposes for commit cd2dea7
This commit is contained in:
parent
67bd49b4a8
commit
f420396990
|
@ -191,28 +191,23 @@ void GERBVIEW_FRAME::ReCreateAuxiliaryToolbar()
|
|||
|
||||
// combobox sizes can have changed: apply new best sizes
|
||||
auto item = m_auxiliaryToolBar->FindTool( ID_GBR_AUX_TOOLBAR_PCB_CMP_CHOICE );
|
||||
|
||||
// if( item )
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_SelComponentBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_GBR_AUX_TOOLBAR_PCB_NET_CHOICE );
|
||||
|
||||
// if( item )
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_SelNetnameBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE );
|
||||
|
||||
// if( item )
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_SelAperAttributesBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_ON_GRID_SELECT );
|
||||
|
||||
// if( item )
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_gridSelectBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_ON_ZOOM_SELECT );
|
||||
|
||||
// if( item )
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_zoomSelectBox->GetBestSize() );
|
||||
|
||||
// after adding the buttons to the toolbar, must call Realize()
|
||||
|
|
Loading…
Reference in New Issue