From be6683b8b7c61b5cfbe677a6ba650c1c323080e6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 12 Feb 2021 15:55:38 +0000 Subject: [PATCH] Fix cross-platform issue. --- pcb_calculator/pcb_calculator_frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }