diff --git a/Plugin/bitmap_loader.cpp b/Plugin/bitmap_loader.cpp index e91bdfd857..4a4c89d248 100644 --- a/Plugin/bitmap_loader.cpp +++ b/Plugin/bitmap_loader.cpp @@ -578,7 +578,11 @@ static wxBitmap LoadSidebarBitmapInternal(const wxString& name, wxWindow* win, b return wxNullBitmap; } +#ifdef __WXGTK__ wxSize button_size{ 24, 24 }; +#else + wxSize button_size{ 32, 32 }; +#endif auto bmpbundle = wxBitmapBundle::FromSVGFile(svg_path.GetFullPath(), button_size); if (!bmpbundle.IsOk()) {