diff --git a/common/widgets/gal_options_panel.cpp b/common/widgets/gal_options_panel.cpp index f34221103a..4e36a3f7f4 100644 --- a/common/widgets/gal_options_panel.cpp +++ b/common/widgets/gal_options_panel.cpp @@ -66,7 +66,6 @@ static const UTIL::CFG_MAP gridSnapConfigVals = GAL_OPTIONS_PANEL::GAL_OPTIONS_PANEL( wxWindow* aParent, EDA_DRAW_FRAME* aDrawFrame ) : wxPanel( aParent, wxID_ANY ), - m_drawFrame( aDrawFrame ), m_galOptions( aDrawFrame->GetGalDisplayOptions() ) { // the main sizer that holds "columns" of settings diff --git a/include/widgets/gal_options_panel.h b/include/widgets/gal_options_panel.h index 5ae8e8c6c1..fff66e779b 100644 --- a/include/widgets/gal_options_panel.h +++ b/include/widgets/gal_options_panel.h @@ -51,8 +51,6 @@ public: bool TransferDataFromWindow() override; private: - EDA_DRAW_FRAME* m_drawFrame; - wxBoxSizer* m_mainSizer; #ifndef __WXMAC__