Disabled scaling for wxAui*TabArt on Mac/GTK3.

This commit is contained in:
Paul Kulchenko
2019-10-11 22:32:49 -07:00
parent 27dcd02dcf
commit dbc659f5b2

View File

@@ -92,7 +92,7 @@ wxBitmap wxAuiBitmapFromBits(const unsigned char bits[], int w, int h,
// wxAuiScaleBitmap is a utility function that scales a TabArt bitmap
wxBitmap wxAuiScaleBitmap(const wxBitmap& bmp, double scale)
{
#if wxUSE_IMAGE
#if wxUSE_IMAGE && !defined(__WXGTK3__) && !defined(__WXMAC__)
// scale to a close round number to improve quality
scale = floor(scale + 0.25);
if (scale > 1.0 && !(bmp.GetScaleFactor() > 1.0))