Disabled scaling for wxAui*TabArt on Mac/GTK3.
This commit is contained in:
@@ -92,7 +92,7 @@ wxBitmap wxAuiBitmapFromBits(const unsigned char bits[], int w, int h,
|
|||||||
// wxAuiScaleBitmap is a utility function that scales a TabArt bitmap
|
// wxAuiScaleBitmap is a utility function that scales a TabArt bitmap
|
||||||
wxBitmap wxAuiScaleBitmap(const wxBitmap& bmp, double scale)
|
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 to a close round number to improve quality
|
||||||
scale = floor(scale + 0.25);
|
scale = floor(scale + 0.25);
|
||||||
if (scale > 1.0 && !(bmp.GetScaleFactor() > 1.0))
|
if (scale > 1.0 && !(bmp.GetScaleFactor() > 1.0))
|
||||||
|
Reference in New Issue
Block a user