Cleanup no-longer-used variable.

This commit is contained in:
Jeff Young 2019-08-04 23:42:44 -06:00
parent 6069263beb
commit 1a68d7c200
3 changed files with 2 additions and 3 deletions

View File

@ -61,7 +61,7 @@ EDA_DRAW_PANEL_GAL::EDA_DRAW_PANEL_GAL( wxWindow* aParentWindow, wxWindowID aWin
m_lostFocus = false;
m_stealsFocus = true;
m_defaultCursor = m_currentCursor = wxStockCursor( wxCURSOR_ARROW );
m_currentCursor = wxStockCursor( wxCURSOR_ARROW );
SetLayoutDirection( wxLayout_LeftToRight );

View File

@ -45,7 +45,7 @@ SCH_DRAW_PANEL::SCH_DRAW_PANEL( wxWindow* aParentWindow, wxWindowID aWindowId,
EDA_DRAW_PANEL_GAL( aParentWindow, aWindowId, aPosition, aSize, aOptions, aGalType ),
m_parent( aParentWindow )
{
m_defaultCursor = m_currentCursor = wxCURSOR_ARROW;
m_currentCursor = wxCURSOR_ARROW;
m_view = new KIGFX::SCH_VIEW( true, dynamic_cast<SCH_BASE_FRAME*>( aParentWindow ) );
m_view->SetGAL( m_gal );

View File

@ -209,7 +209,6 @@ protected:
static const int MinRefreshPeriod = 17; ///< 60 FPS.
wxCursor m_currentCursor; /// Current mouse cursor shape id.
wxCursor m_defaultCursor; /// The default mouse cursor shape id.
wxWindow* m_parent; /// Pointer to the parent window
EDA_DRAW_FRAME* m_edaFrame; /// Parent EDA_DRAW_FRAME (if available)