1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

__WXMAC__ -> __APPLE__ in Theme.cpp #ifdef

This change helps macports and is (apparently) neutral for the platforms we build for.  See:
https://trac.macports.org/ticket/47189#comment:35
This commit is contained in:
James Crook 2016-02-08 21:47:59 +00:00
parent 9ca1e32e5b
commit 3f4a9191ec

View File

@ -383,7 +383,7 @@ void ThemeBase::RegisterImage( int &iIndex, const wxImage &Image, const wxString
wxASSERT( iIndex == -1 ); // Don't initialise same bitmap twice!
mImages.Add( Image );
#ifdef __WXMAC__
#ifdef __APPLE__
// On Mac, bitmaps with alpha don't work.
// So we convert to a mask and use that.
// It isn't quite as good, as alpha gives smoother edges.