Don't fix the visibility icon size or it will never scale properly

Related https://gitlab.com/kicad/code/kicad/-/issues/11880


(cherry picked from commit c0f8810759)
This commit is contained in:
Marek Roszko 2022-10-30 15:02:52 -04:00 committed by Mark Roszko
parent 08452433e8
commit 2ff3fac7b3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ BITMAP_TOGGLE::BITMAP_TOGGLE( wxWindow *aParent, wxWindowID aId, const wxBitmap&
const wxBitmap& bitmap = aChecked ? m_checked_bitmap : m_unchecked_bitmap;
m_bitmap = new wxStaticBitmap( this, aId, bitmap, wxDefaultPosition, bitmap.GetSize() );
m_bitmap = new wxStaticBitmap( this, aId, bitmap, wxDefaultPosition );
sizer->Add( m_bitmap, 0, 0 );