Revert "Removed Pin{Shape,Type}ComboBox::SetSelection()."
Enforcing the appropriate type is a good thing, though it results in
build warnings. For the moment we stay with the latter.
This reverts commit 6dd47119fe
.
This commit is contained in:
parent
5a2be26934
commit
c4db8bf45f
|
@ -61,3 +61,9 @@ GRAPHIC_PINSHAPE PinShapeComboBox::GetPinShapeSelection()
|
|||
{
|
||||
return static_cast<GRAPHIC_PINSHAPE>( GetSelection() );
|
||||
}
|
||||
|
||||
|
||||
void PinShapeComboBox::SetSelection( GRAPHIC_PINSHAPE aShape )
|
||||
{
|
||||
wxBitmapComboBox::SetSelection( aShape );
|
||||
}
|
||||
|
|
|
@ -47,4 +47,5 @@ public:
|
|||
const wxString& name = wxBitmapComboBoxNameStr );
|
||||
|
||||
GRAPHIC_PINSHAPE GetPinShapeSelection();
|
||||
void SetSelection( GRAPHIC_PINSHAPE aShape );
|
||||
};
|
||||
|
|
|
@ -61,3 +61,9 @@ ELECTRICAL_PINTYPE PinTypeComboBox::GetPinTypeSelection()
|
|||
{
|
||||
return static_cast<ELECTRICAL_PINTYPE>( GetSelection() );
|
||||
}
|
||||
|
||||
|
||||
void PinTypeComboBox::SetSelection( ELECTRICAL_PINTYPE aType )
|
||||
{
|
||||
wxBitmapComboBox::SetSelection( aType );
|
||||
}
|
||||
|
|
|
@ -47,4 +47,5 @@ public:
|
|||
const wxString& name = wxBitmapComboBoxNameStr );
|
||||
|
||||
ELECTRICAL_PINTYPE GetPinTypeSelection();
|
||||
void SetSelection( ELECTRICAL_PINTYPE aType );
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue