Cleanup a change I made for debug purposes for commit cd2dea7
This commit is contained in:
parent
67bd49b4a8
commit
f420396990
|
@ -191,29 +191,24 @@ 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 )
|
||||
item->SetMinSize( m_SelComponentBox->GetBestSize() );
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_SelComponentBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_GBR_AUX_TOOLBAR_PCB_NET_CHOICE );
|
||||
|
||||
// if( item )
|
||||
item->SetMinSize( m_SelNetnameBox->GetBestSize() );
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_SelNetnameBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE );
|
||||
|
||||
// if( item )
|
||||
item->SetMinSize( m_SelAperAttributesBox->GetBestSize() );
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_SelAperAttributesBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_ON_GRID_SELECT );
|
||||
|
||||
// if( item )
|
||||
item->SetMinSize( m_gridSelectBox->GetBestSize() );
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_gridSelectBox->GetBestSize() );
|
||||
|
||||
item = m_auxiliaryToolBar->FindTool( ID_ON_ZOOM_SELECT );
|
||||
|
||||
// if( item )
|
||||
item->SetMinSize( m_zoomSelectBox->GetBestSize() );
|
||||
wxASSERT( item );
|
||||
item->SetMinSize( m_zoomSelectBox->GetBestSize() );
|
||||
|
||||
// after adding the buttons to the toolbar, must call Realize()
|
||||
m_auxiliaryToolBar->Realize();
|
||||
|
|
Loading…
Reference in New Issue