From c694c2e5347a797464e532593d46cdcacd204ed6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 23 Oct 2018 23:05:06 +0100 Subject: [PATCH] No more legacy graphics for eeschema. --- eeschema/menubar.cpp | 8 -------- eeschema/tool_sch.cpp | 7 ------- 2 files changed, 15 deletions(-) diff --git a/eeschema/menubar.cpp b/eeschema/menubar.cpp index 5ff0c5f63f..0a03ebde1e 100644 --- a/eeschema/menubar.cpp +++ b/eeschema/menubar.cpp @@ -210,18 +210,10 @@ void prepareViewMenu( wxMenu* aParentMenu ) _( "Select which units are displayed" ), KiBitmap( unit_mm_xpm ) ); - -#ifndef __APPLE__ AddMenuItem( aParentMenu, ID_TB_OPTIONS_SELECT_CURSOR, _( "Full &Window Crosshair" ), _( "Change cursor shape" ), KiBitmap( cursor_shape_xpm ), wxITEM_CHECK ); -#else - AddMenuItem( aParentMenu, ID_TB_OPTIONS_SELECT_CURSOR, - _( "Full &Window Crosshair" ), - _( "Change cursor shape (not supported in Legacy graphics)" ), - KiBitmap( cursor_shape_xpm ), wxITEM_CHECK ); -#endif aParentMenu->AppendSeparator(); diff --git a/eeschema/tool_sch.cpp b/eeschema/tool_sch.cpp index fcfa9347c8..ed7bdf349a 100644 --- a/eeschema/tool_sch.cpp +++ b/eeschema/tool_sch.cpp @@ -296,16 +296,9 @@ void SCH_EDIT_FRAME::ReCreateOptToolbar() KiScaledBitmap( unit_mm_xpm, this ), _( "Set unit to mm" ), wxITEM_CHECK ); -#ifndef __APPLE__ m_optionsToolBar->AddTool( ID_TB_OPTIONS_SELECT_CURSOR, wxEmptyString, KiScaledBitmap( cursor_shape_xpm, this ), _( "Change cursor shape" ), wxITEM_CHECK ); -#else - m_optionsToolBar->AddTool( ID_TB_OPTIONS_SELECT_CURSOR, wxEmptyString, - KiScaledBitmap( cursor_shape_xpm, this ), - _( "Change cursor shape (not supported in Legacy Toolset)" ), - wxITEM_CHECK ); -#endif //KiScaledSeparator( m_optionsToolBar, this ); m_optionsToolBar->AddTool( ID_TB_OPTIONS_HIDDEN_PINS, wxEmptyString,