Fix cross-platform issue.
This commit is contained in:
parent
6b6d689232
commit
be6683b8b7
|
@ -156,7 +156,7 @@ void PCB_CALCULATOR_FRAME::OnUpdateUI( wxUpdateUIEvent& event )
|
||||||
wxCommandEvent event2( wxEVT_RADIOBUTTON );
|
wxCommandEvent event2( wxEVT_RADIOBUTTON );
|
||||||
event2.SetEventObject( m_TranslineSelection );
|
event2.SetEventObject( m_TranslineSelection );
|
||||||
event2.SetInt( m_currTransLineType );
|
event2.SetInt( m_currTransLineType );
|
||||||
m_TranslineSelection->ProcessCommand( event2 );
|
m_TranslineSelection->Command( event2 );
|
||||||
|
|
||||||
for( int i = 0; i < m_attenuator_list.size(); ++i )
|
for( int i = 0; i < m_attenuator_list.size(); ++i )
|
||||||
{
|
{
|
||||||
|
@ -164,7 +164,7 @@ void PCB_CALCULATOR_FRAME::OnUpdateUI( wxUpdateUIEvent& event )
|
||||||
{
|
{
|
||||||
event2.SetEventObject( m_AttenuatorsSelection );
|
event2.SetEventObject( m_AttenuatorsSelection );
|
||||||
event2.SetInt( i );
|
event2.SetInt( i );
|
||||||
m_AttenuatorsSelection->ProcessCommand( event2 );
|
m_AttenuatorsSelection->Command( event2 );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue