diff --git a/3d-viewer/3d_viewer/3d_toolbar.cpp b/3d-viewer/3d_viewer/3d_toolbar.cpp index 6fd55ffd41..b72c3bdd66 100644 --- a/3d-viewer/3d_viewer/3d_toolbar.cpp +++ b/3d-viewer/3d_viewer/3d_toolbar.cpp @@ -5,7 +5,7 @@ * Copyright (C) 2015 Jean-Pierre Charras, jp.charras at wanadoo.fr * Copyright (C) 2013 Wayne Stambaugh * Copyright (C) 2023 CERN - * Copyright (C) 1992-2023 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2024 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -54,16 +54,17 @@ void EDA_3D_VIEWER_FRAME::ReCreateMainToolbar() // Set up toolbar m_mainToolBar->AddTool( ID_RELOAD3D_BOARD, wxEmptyString, - KiScaledBitmap( BITMAPS::import3d, this ), _( "Reload board" ) ); + KiBitmapBundle( BITMAPS::import3d ), + _( "Reload board" ) ); m_mainToolBar->AddScaledSeparator( this ); m_mainToolBar->AddTool( ID_TOOL_SCREENCOPY_TOCLIBBOARD, wxEmptyString, - KiScaledBitmap( BITMAPS::copy, this ), + KiBitmapBundle( BITMAPS::copy ), _( "Copy 3D image to clipboard" ) ); m_mainToolBar->AddScaledSeparator( this ); m_mainToolBar->AddTool( ID_RENDER_CURRENT_VIEW, wxEmptyString, - KiScaledBitmap( BITMAPS::render_mode, this ), + KiBitmapBundle( BITMAPS::render_mode ), _( "Render current view using Raytracing" ), wxITEM_CHECK ); m_mainToolBar->AddScaledSeparator( this );