Pass KiBitmapBundle instead of KiBitmap to the pin property comboboxes
Related https://gitlab.com/kicad/code/kicad/-/issues/16698
This commit is contained in:
parent
39d918b36a
commit
caf463bbd2
|
@ -150,7 +150,8 @@ DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES( SYMBOL_EDIT_FRAME* parent, LIB_PIN
|
|||
const std::vector<BITMAPS>& orientationIcons = PinOrientationIcons();
|
||||
|
||||
for ( unsigned ii = 0; ii < orientationNames.GetCount(); ii++ )
|
||||
m_choiceOrientation->Insert( orientationNames[ii], KiBitmap( orientationIcons[ii] ), ii );
|
||||
m_choiceOrientation->Insert( orientationNames[ii], KiBitmapBundle( orientationIcons[ii] ),
|
||||
ii );
|
||||
|
||||
// We can't set the tab order through wxWidgets due to shortcomings in their mnemonics
|
||||
// implementation on MSW
|
||||
|
|
|
@ -53,7 +53,7 @@ PinShapeComboBox::PinShapeComboBox( wxWindow* parent,
|
|||
if( bitmap == BITMAPS::INVALID_BITMAP )
|
||||
Append( text );
|
||||
else
|
||||
Insert( text, KiBitmap( bitmap ), ii );
|
||||
Insert( text, KiBitmapBundle( bitmap ), ii );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ PinTypeComboBox::PinTypeComboBox( wxWindow* parent,
|
|||
if( bitmap == BITMAPS::INVALID_BITMAP )
|
||||
Append( text );
|
||||
else
|
||||
Insert( text, KiBitmap( bitmap ), ii );
|
||||
Insert( text, KiBitmapBundle( bitmap ), ii );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue