Revert "Remove unused variable."

It's only unused on Mac

This reverts commit d3fb22014f.
This commit is contained in:
Jon Evans 2021-07-03 16:48:46 -04:00
parent f46486bc3e
commit e95323a37e
2 changed files with 3 additions and 0 deletions

View File

@ -66,6 +66,7 @@ static const UTIL::CFG_MAP<KIGFX::GRID_SNAPPING> 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

View File

@ -51,6 +51,8 @@ public:
bool TransferDataFromWindow() override;
private:
EDA_DRAW_FRAME* m_drawFrame;
wxBoxSizer* m_mainSizer;
#ifndef __WXMAC__