diff --git a/pcb_calculator/pcb_calculator_frame.cpp b/pcb_calculator/pcb_calculator_frame.cpp index 26a3f11260..22dfd1bb68 100644 --- a/pcb_calculator/pcb_calculator_frame.cpp +++ b/pcb_calculator/pcb_calculator_frame.cpp @@ -156,7 +156,7 @@ void PCB_CALCULATOR_FRAME::OnUpdateUI( wxUpdateUIEvent& event ) wxCommandEvent event2( wxEVT_RADIOBUTTON ); event2.SetEventObject( m_TranslineSelection ); event2.SetInt( m_currTransLineType ); - m_TranslineSelection->ProcessCommand( event2 ); + m_TranslineSelection->Command( event2 ); 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.SetInt( i ); - m_AttenuatorsSelection->ProcessCommand( event2 ); + m_AttenuatorsSelection->Command( event2 ); break; } }