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

Related https://gitlab.com/kicad/code/kicad/-/issues/11880
This commit is contained in:
Marek Roszko 2022-10-30 15:02:52 -04:00
parent ed0462c7a1
commit c0f8810759
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 );