diff --git a/pcbnew/dialogs/dialog_plot.cpp b/pcbnew/dialogs/dialog_plot.cpp index 9d0c1dc7f0..440fba0074 100644 --- a/pcbnew/dialogs/dialog_plot.cpp +++ b/pcbnew/dialogs/dialog_plot.cpp @@ -154,15 +154,15 @@ DIALOG_PLOT::DIALOG_PLOT( PCB_EDIT_FRAME* aParent ) : wxBoxSizer* bButtonSizer; bButtonSizer = new wxBoxSizer( wxHORIZONTAL ); - m_bpMoveUp = new wxBitmapButton( sbSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, - wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | 0 ); + m_bpMoveUp = new STD_BITMAP_BUTTON( sbSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, + wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | 0 ); m_bpMoveUp->SetToolTip( _( "Move current selection up" ) ); m_bpMoveUp->SetBitmap( KiBitmap( BITMAPS::small_up ) ); bButtonSizer->Add( m_bpMoveUp, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, 5 ); - m_bpMoveDown = new wxBitmapButton( sbSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, - wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | 0 ); + m_bpMoveDown = new STD_BITMAP_BUTTON( sbSizer->GetStaticBox(), wxID_ANY, wxNullBitmap, + wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | 0 ); m_bpMoveDown->SetToolTip( _( "Move current selection down" ) ); m_bpMoveDown->SetBitmap( KiBitmap( BITMAPS::small_down ) ); diff --git a/pcbnew/dialogs/dialog_plot.h b/pcbnew/dialogs/dialog_plot.h index 9a1b1b7cec..0b5d12ec11 100644 --- a/pcbnew/dialogs/dialog_plot.h +++ b/pcbnew/dialogs/dialog_plot.h @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 1992-2022 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 1992-2023 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 @@ -96,8 +96,8 @@ private: PCB_PLOT_PARAMS m_plotOpts; wxRearrangeList* m_plotAllLayersList; - wxBitmapButton* m_bpMoveUp; - wxBitmapButton* m_bpMoveDown; + STD_BITMAP_BUTTON* m_bpMoveUp; + STD_BITMAP_BUTTON* m_bpMoveDown; /// The plot layer set that last time the dialog was opened. static LSET m_lastLayerSet;