From 3f4a9191ec6cbd6730ff9791a6d2869f6a60ac5e Mon Sep 17 00:00:00 2001 From: James Crook Date: Mon, 8 Feb 2016 21:47:59 +0000 Subject: [PATCH] __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 --- src/Theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Theme.cpp b/src/Theme.cpp index 88f2aabfd..f7b47b58e 100644 --- a/src/Theme.cpp +++ b/src/Theme.cpp @@ -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.