From 659c0ecfcc9873596bc74f039cac672796201fac Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Tue, 30 Jun 2020 15:35:43 +0100 Subject: [PATCH] Gerbview: Fix print toolbar button Fixes https://gitlab.com/kicad/code/kicad/issues/4762 --- gerbview/toolbars_gerber.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gerbview/toolbars_gerber.cpp b/gerbview/toolbars_gerber.cpp index 9c2d54d5db..c6499d6ad6 100644 --- a/gerbview/toolbars_gerber.cpp +++ b/gerbview/toolbars_gerber.cpp @@ -65,8 +65,7 @@ void GERBVIEW_FRAME::ReCreateHToolbar() m_mainToolBar->Add( GERBVIEW_ACTIONS::openDrillFile ); m_mainToolBar->AddScaledSeparator( this ); - m_mainToolBar->AddTool( wxID_PRINT, wxEmptyString, KiScaledBitmap( print_button_xpm, this ), - _( "Print layers" ) ); + m_mainToolBar->Add( ACTIONS::print ); m_mainToolBar->AddScaledSeparator( this ); m_mainToolBar->Add( ACTIONS::zoomRedraw );