Commit e7ece9c0 authored by dickelbeck's avatar dickelbeck

SetToolbars() sanity

parent f95962f1
...@@ -660,7 +660,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse ) ...@@ -660,7 +660,7 @@ void WinEDA_BasePcbFrame::GeneralControle( wxDC* DC, wxPoint Mouse )
RedrawActiveWindow( DC, TRUE ); RedrawActiveWindow( DC, TRUE );
} }
// SetToolbars(); SetToolbars();
Affiche_Status_Box(); /* Display new cursor coordinates */ Affiche_Status_Box(); /* Display new cursor coordinates */
} }
...@@ -629,7 +629,6 @@ void WinEDA_PcbFrame::ReCreateAuxiliaryToolbar() ...@@ -629,7 +629,6 @@ void WinEDA_PcbFrame::ReCreateAuxiliaryToolbar()
m_SelViaSizeBox_Changed = TRUE; m_SelViaSizeBox_Changed = TRUE;
m_SelTrackWidthBox_Changed = TRUE; m_SelTrackWidthBox_Changed = TRUE;
ReCreateLayerBox( NULL ); ReCreateLayerBox( NULL );
SetToolbars(); SetToolbars();
...@@ -667,6 +666,7 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent ) ...@@ -667,6 +666,7 @@ WinEDAChoiceBox* WinEDA_PcbFrame::ReCreateLayerBox( WinEDA_Toolbar* parent )
/**************************************************************************/ /**************************************************************************/
{ {
// wxASSERT("ReCreateLayerBox"==""); // get a stack trace, who is calling me and from where // wxASSERT("ReCreateLayerBox"==""); // get a stack trace, who is calling me and from where
D(printf("ReCreateLayerBox\n");)
if( m_SelLayerBox == NULL ) if( m_SelLayerBox == NULL )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment