Add bitmap bundle support to BITMAP_SCALE
Change a bunch of buttons and toolbars to use it Fixes https://gitlab.com/kicad/code/kicad/-/issues/14119
This commit is contained in:
@@ -36,9 +36,9 @@
|
||||
PANEL_GIT_REPOS::PANEL_GIT_REPOS( wxWindow* aParent ) : PANEL_GIT_REPOS_BASE( aParent)
|
||||
{
|
||||
|
||||
m_btnAddRepo->SetBitmap( KiBitmap( BITMAPS::small_plus ) );
|
||||
m_btnEditRepo->SetBitmap( KiBitmap( BITMAPS::small_edit ) );
|
||||
m_btnDelete->SetBitmap( KiBitmap( BITMAPS::small_trash ) );
|
||||
m_btnAddRepo->SetBitmap( KiBitmapBundle( BITMAPS::small_plus ) );
|
||||
m_btnEditRepo->SetBitmap( KiBitmapBundle( BITMAPS::small_edit ) );
|
||||
m_btnDelete->SetBitmap( KiBitmapBundle( BITMAPS::small_trash ) );
|
||||
|
||||
}
|
||||
|
||||
@@ -383,4 +383,4 @@ void PANEL_GIT_REPOS::onDeleteClick( wxCommandEvent& event )
|
||||
curRow = std::max( 0, curRow - 1 );
|
||||
m_grid->MakeCellVisible( curRow, m_grid->GetGridCursorCol() );
|
||||
m_grid->SetGridCursor( curRow, m_grid->GetGridCursorCol() );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user