SetToolbars() sanity
This commit is contained in:
parent
f95962f100
commit
e7ece9c017
|
@ -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()
|
||||||
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 )
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
{
|
{
|
||||||
// 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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue