diff --git a/eeschema/lib_pin.cpp b/eeschema/lib_pin.cpp index c482a8fcfb..81eea0197c 100644 --- a/eeschema/lib_pin.cpp +++ b/eeschema/lib_pin.cpp @@ -1073,6 +1073,17 @@ void LIB_PIN::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector()->m_Appearance.default_font ); diff --git a/eeschema/lib_pin.h b/eeschema/lib_pin.h index f842fc9d97..c9d434ef0f 100644 --- a/eeschema/lib_pin.h +++ b/eeschema/lib_pin.h @@ -170,6 +170,8 @@ public: void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector& aList ) override; + void ViewGetLayers( int aLayers[], int& aCount ) const override; + /* Cannot use a default parameter here as it will not be compatible with the virtual. */ const EDA_RECT GetBoundingBox() const override { return GetBoundingBox( false ); }