From d51b8a874477372bea29eaf1dc5b0aa9d4cd78e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Sumi=C5=84ski?= Date: Sun, 7 Jul 2013 20:02:06 +0200 Subject: [PATCH] Removed some more KICAD_GAL ifdefs. --- pcbnew/dialogs/dialog_general_options.cpp | 6 ------ pcbnew/hotkeys.cpp | 2 -- 2 files changed, 8 deletions(-) diff --git a/pcbnew/dialogs/dialog_general_options.cpp b/pcbnew/dialogs/dialog_general_options.cpp index 6509399218..c066e2c3a7 100644 --- a/pcbnew/dialogs/dialog_general_options.cpp +++ b/pcbnew/dialogs/dialog_general_options.cpp @@ -198,28 +198,22 @@ void PCB_EDIT_FRAME::OnSelectOptionToolbar( wxCommandEvent& event ) case ID_TB_OPTIONS_SHOW_ZONES: DisplayOpt.DisplayZonesMode = 0; -#ifdef KICAD_GAL recache = true; if( !IsGalCanvasActive() ) -#endif /* KICAD_GAL */ m_canvas->Refresh(); break; case ID_TB_OPTIONS_SHOW_ZONES_DISABLE: DisplayOpt.DisplayZonesMode = 1; -#ifdef KICAD_GAL recache = true; if( !IsGalCanvasActive() ) -#endif /* KICAD_GAL */ m_canvas->Refresh(); break; case ID_TB_OPTIONS_SHOW_ZONES_OUTLINES_ONLY: DisplayOpt.DisplayZonesMode = 2; -#ifdef KICAD_GAL recache = true; if( !IsGalCanvasActive() ) -#endif /* KICAD_GAL */ m_canvas->Refresh(); break; diff --git a/pcbnew/hotkeys.cpp b/pcbnew/hotkeys.cpp index f4b338a7f1..481db0168c 100644 --- a/pcbnew/hotkeys.cpp +++ b/pcbnew/hotkeys.cpp @@ -237,9 +237,7 @@ EDA_HOTKEY* board_edit_Hotkey_List[] = &HkRecordMacros6, &HkCallMacros6, &HkRecordMacros7, &HkCallMacros7, &HkRecordMacros8, &HkCallMacros8, &HkRecordMacros9, &HkCallMacros9, &HkSwitchHighContrastMode, -#ifdef KICAD_GAL &HkCanvasDefault, &HkCanvasCairo, &HkCanvasOpenGL, &HkCanvasOpenGLShaders, -#endif NULL };