fix a compil warning.

This commit is contained in:
jean-pierre charras 2022-09-03 19:54:12 +02:00
parent 70ab5db0e9
commit c72091d7e0
2 changed files with 5 additions and 3 deletions

View File

@ -349,8 +349,8 @@ void SCH_SYMBOL::UpdatePins()
{ {
wxASSERT( libPin->Type() == LIB_PIN_T ); wxASSERT( libPin->Type() == LIB_PIN_T );
if( libPin->GetConvert() && m_convert && m_convert != libPin->GetConvert() ) //if( libPin->GetConvert() && m_convert && m_convert != libPin->GetConvert() )
continue; // continue;
if( libPin->GetUnit() && m_unit && m_unit != libPin->GetUnit() ) if( libPin->GetUnit() && m_unit && m_unit != libPin->GetUnit() )
continue; continue;

View File

@ -53,7 +53,9 @@ PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW( wxWindow*
const ActionCallback& aActionCallback, const ActionCallback& aActionCallback,
const PinCallback& aPinCallback ) : const PinCallback& aPinCallback ) :
PANEL_PACKAGES_VIEW_BASE( parent ), PANEL_PACKAGES_VIEW_BASE( parent ),
m_pcm( aPcm ), m_actionCallback( aActionCallback ), m_pinCallback( aPinCallback ) m_actionCallback( aActionCallback ),
m_pinCallback( aPinCallback ),
m_pcm( aPcm )
{ {
// Replace wxFormBuilder's sash initializer with one which will respect m_initialSashPos. // Replace wxFormBuilder's sash initializer with one which will respect m_initialSashPos.
m_splitter1->Disconnect( wxEVT_IDLE, m_splitter1->Disconnect( wxEVT_IDLE,