From fbace8e5137c8a080231e7e6f949cdfc831bf01c Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Wed, 18 Jan 2017 17:24:05 +0100 Subject: [PATCH] Fixed two hidden overloaded function warnings. Correct way of writing commit c4db8bf4. --- eeschema/widgets/pin_shape_combobox.h | 4 ++++ eeschema/widgets/pin_type_combobox.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/eeschema/widgets/pin_shape_combobox.h b/eeschema/widgets/pin_shape_combobox.h index b1f0bddd03..8a99756870 100644 --- a/eeschema/widgets/pin_shape_combobox.h +++ b/eeschema/widgets/pin_shape_combobox.h @@ -48,4 +48,8 @@ public: GRAPHIC_PINSHAPE GetPinShapeSelection(); void SetSelection( GRAPHIC_PINSHAPE aShape ); + +private: + // fixes hidden overloaded virtual function warnings + using wxBitmapComboBox::SetSelection; }; diff --git a/eeschema/widgets/pin_type_combobox.h b/eeschema/widgets/pin_type_combobox.h index 00036e1961..0e05be4fc3 100644 --- a/eeschema/widgets/pin_type_combobox.h +++ b/eeschema/widgets/pin_type_combobox.h @@ -48,4 +48,8 @@ public: ELECTRICAL_PINTYPE GetPinTypeSelection(); void SetSelection( ELECTRICAL_PINTYPE aType ); + +private: + // fixes hidden overloaded virtual function warnings + using wxBitmapComboBox::SetSelection; };