diff --git a/common/draw_panel_gal.cpp b/common/draw_panel_gal.cpp index 82256c3745..1e183bec9b 100644 --- a/common/draw_panel_gal.cpp +++ b/common/draw_panel_gal.cpp @@ -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 ); diff --git a/eeschema/sch_draw_panel.cpp b/eeschema/sch_draw_panel.cpp index 2a0d75d540..83c9a6cdf1 100644 --- a/eeschema/sch_draw_panel.cpp +++ b/eeschema/sch_draw_panel.cpp @@ -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( aParentWindow ) ); m_view->SetGAL( m_gal ); diff --git a/include/class_draw_panel_gal.h b/include/class_draw_panel_gal.h index 1584e1798d..42d6f3ee2c 100644 --- a/include/class_draw_panel_gal.h +++ b/include/class_draw_panel_gal.h @@ -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)